com.ibm.security.jgss

Class TokenHeader

  1. java.lang.Object
  2. extended bycom.ibm.security.jgss.TokenHeader

  1. public class TokenHeader
  2. 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
  1. byte[]
asn1Encode()
  1. void
asn1Encode(java.io.OutputStream outStream)
  1. int
getEncodedLength()
  1. Oid
getMechanism()
  1. byte[]
getMechToken()
  1. int
getMechTokenLen()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

TokenHeader

  1. public TokenHeader(byte[] token)
  2. throws GSSException
Throws:

TokenHeader

  1. public TokenHeader(byte[] token,
  2. boolean readInnerToken)
  3. throws GSSException
Throws:

TokenHeader

  1. public TokenHeader(java.io.InputStream inStream)
  2. throws GSSException
Throws:

TokenHeader

  1. public TokenHeader(java.io.InputStream inStream,
  2. boolean readInnerToken)
  3. throws GSSException
Throws:

TokenHeader

  1. public TokenHeader(Oid mech,
  2. byte[] innerToken)
  3. throws GSSException
Throws:

Method Detail

asn1Encode

  1. public void asn1Encode(java.io.OutputStream outStream)
  2. throws GSSException
Throws:

asn1Encode

  1. public byte[] asn1Encode()
  2. throws GSSException
Throws:

getMechanism

  1. public Oid getMechanism()

getMechTokenLen

  1. public int getMechTokenLen()

getMechToken

  1. public byte[] getMechToken()

getEncodedLength

  1. public int getEncodedLength()