com.ibm.security.jgss
Class TokenHeader
- java.lang.Object
com.ibm.security.jgss.TokenHeader
- public class TokenHeader
- extends java.lang.Object
Author:
Thomas Owusu
Constructor Summary
Constructor and Description |
---|
TokenHeader(byte[] token)
|
TokenHeader(byte[] token,boolean readInnerToken)
|
TokenHeader(java.io.InputStream inStream)
|
TokenHeader(java.io.InputStream inStream,boolean readInnerToken)
|
TokenHeader(Oid mech,byte[] innerToken)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
|
|
asn1Encode(java.io.OutputStream outStream)
|
|
getEncodedLength()
|
getMechanism()
|
|
|
getMechToken()
|
|
getMechTokenLen()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
TokenHeader
- public TokenHeader(byte[] token)
- throws GSSException
Throws:
TokenHeader
- public TokenHeader(byte[] token,
- boolean readInnerToken)
- throws GSSException
Throws:
TokenHeader
- public TokenHeader(java.io.InputStream inStream)
- throws GSSException
Throws:
TokenHeader
- public TokenHeader(java.io.InputStream inStream,
- boolean readInnerToken)
- throws GSSException
Throws:
TokenHeader
- public TokenHeader(Oid mech,
- byte[] innerToken)
- throws GSSException
Throws:
Method Detail
asn1Encode
- public void asn1Encode(java.io.OutputStream outStream)
- throws GSSException
Throws:
asn1Encode
- public byte[] asn1Encode()
- throws GSSException
Throws:
getMechanism
- public Oid getMechanism()
getMechTokenLen
- public int getMechTokenLen()
getMechToken
- public byte[] getMechToken()
getEncodedLength
- public int getEncodedLength()