public class NegTokenTarg
extends java.lang.Object
Contains the details of an SPNEGO NegTokenTarg blob for use with CIFS.
Constructor and Description |
---|
NegTokenTarg()
Class constructor for decoding
|
NegTokenTarg(int result,
org.ietf.jgss.Oid mech,
byte[] response)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] buf,
int off,
int len)
Decode an SPNEGO NegTokenTarg blob
|
byte[] |
encode()
Encode an SPNEGO NegTokenTarg blob
|
byte[] |
getResponseToken()
Return the response token
|
int |
getResult()
Return the result
|
org.ietf.jgss.Oid |
getSupportedMech()
Return the supported mech type Oid
|
boolean |
hasResponseToken()
Determine if there is a valid response token
|
java.lang.String |
toString()
Return the NegtokenTarg object as a string
|
public NegTokenTarg()
public NegTokenTarg(int result, org.ietf.jgss.Oid mech, byte[] response)
result
- intmech
- Oidresponse
- byte[]public final int getResult()
public final org.ietf.jgss.Oid getSupportedMech()
public final boolean hasResponseToken()
public final byte[] getResponseToken()
public void decode(byte[] buf, int off, int len) throws java.io.IOException
buf
- byte[]off
- intlen
- intjava.io.IOException
public byte[] encode() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.