org.jboss.security.negotiation.spnego.encoding
Class NegTokenTargEncoder
java.lang.Object
org.jboss.security.negotiation.spnego.encoding.NegTokenEncoder
org.jboss.security.negotiation.spnego.encoding.NegTokenTargEncoder
public class NegTokenTargEncoder
- extends NegTokenEncoder
NegTokenTarg Encoder.
- Author:
- Darran Lofthouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NegTokenTargEncoder
public NegTokenTargEncoder()
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.