sun.security.mule.jgss.spnego
Class NegTokenInit

java.lang.Object
  extended by sun.security.mule.jgss.GSSToken
      extended by sun.security.mule.jgss.spnego.NegTokenInit

public class NegTokenInit
extends GSSToken

Implements the SPNEGO NegTokenInit token as specified in RFC 2478 NegTokenInit ::= SEQUENCE { mechTypes [0] MechTypeList OPTIONAL, reqFlags [1] ContextFlags OPTIONAL, mechToken [2] OCTET STRING OPTIONAL, mechListMIC [3] OCTET STRING OPTIONAL } MechTypeList ::= SEQUENCE OF MechType MechType::= OBJECT IDENTIFIER ContextFlags ::= BIT STRING { delegFlag (0), mutualFlag (1), replayFlag (2), sequenceFlag (3), anonFlag (4), confFlag (5), integFlag (6) }

Since:
1.6
Author:
Seema Malkani

Field Summary
static sun.security.util.ObjectIdentifier OID
          The object identifier corresponding to the SPNEGO GSS-API mechanism.
 
Constructor Summary
NegTokenInit(byte[] in)
           
 
Method Summary
 byte[] getMechToken()
           
 Oid[] getMechTypeList()
           
 
Methods inherited from class sun.security.mule.jgss.GSSToken
debug, getHexBytes, getHexBytes, getHexBytes, readBigEndian, readFully, readFully, readInt, readInt, readLittleEndian, writeBigEndian, writeBigEndian, writeInt, writeInt, writeLittleEndian, writeLittleEndian
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OID

public static sun.security.util.ObjectIdentifier OID
The object identifier corresponding to the SPNEGO GSS-API mechanism.

Constructor Detail

NegTokenInit

public NegTokenInit(byte[] in)
             throws GSSException
Throws:
GSSException
Method Detail

getMechTypeList

public Oid[] getMechTypeList()

getMechToken

public byte[] getMechToken()


Copyright © 2013. All Rights Reserved.