org.jboss.security.negotiation.spnego.encoding
Class NegTokenTargEncoder

java.lang.Object
  extended by org.jboss.security.negotiation.spnego.encoding.NegTokenEncoder
      extended by org.jboss.security.negotiation.spnego.encoding.NegTokenTargEncoder

public class NegTokenTargEncoder
extends NegTokenEncoder

NegTokenTarg Encoder.

Author:
Darran Lofthouse

Constructor Summary
NegTokenTargEncoder()
           
 
Method Summary
protected static void contructMessage(List<byte[]> tokens, OutputStream os)
           
static byte[] encode(NegTokenTarg negTokenTarg)
           
static void encode(NegTokenTarg negTokenTarg, OutputStream os)
           
protected static void encodeConstructedSequence(List<byte[]> tokens)
           
protected static void encodeMechListMIC(List<byte[]> tokens, byte[] mechListMIC)
           
protected static void encodeNegResult(List<byte[]> tokens, Integer negResult)
           
protected static void encodeNegTokenTarg(List<byte[]> tokens)
           
protected static void encodeResponseToken(List<byte[]> tokens, byte[] responseToken)
           
protected static void encodeSupportedMech(List<byte[]> tokens, Oid supportedMech)
           
protected static int getTotalLength(List<byte[]> tokens)
           
 
Methods inherited from class org.jboss.security.negotiation.spnego.encoding.NegTokenEncoder
createTypeLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegTokenTargEncoder

public NegTokenTargEncoder()
Method Detail

getTotalLength

protected static int getTotalLength(List<byte[]> tokens)

encodeNegTokenTarg

protected static void encodeNegTokenTarg(List<byte[]> tokens)

encodeConstructedSequence

protected static void encodeConstructedSequence(List<byte[]> tokens)

encodeNegResult

protected static void encodeNegResult(List<byte[]> tokens,
                                      Integer negResult)

encodeSupportedMech

protected static void encodeSupportedMech(List<byte[]> tokens,
                                          Oid supportedMech)
                                   throws GSSException
Throws:
GSSException

encodeResponseToken

protected static void encodeResponseToken(List<byte[]> tokens,
                                          byte[] responseToken)

encodeMechListMIC

protected static void encodeMechListMIC(List<byte[]> tokens,
                                        byte[] mechListMIC)

contructMessage

protected static void contructMessage(List<byte[]> tokens,
                                      OutputStream os)
                               throws IOException
Throws:
IOException

encode

public static void encode(NegTokenTarg negTokenTarg,
                          OutputStream os)
                   throws GSSException,
                          IOException
Throws:
GSSException
IOException

encode

public static byte[] encode(NegTokenTarg negTokenTarg)
                     throws GSSException,
                            IOException
Throws:
GSSException
IOException


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.