public class NegTokenTarg extends Object
Contains the details of an SPNEGO NegTokenTarg blob for use with CIFS.
Constructor and Description |
---|
NegTokenTarg()
Class constructor for decoding
|
NegTokenTarg(int result,
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
|
Oid |
getSupportedMech()
Return the supported mech type Oid
|
boolean |
hasResponseToken()
Determine if there is a valid response token
|
String |
toString()
Return the NegtokenTarg object as a string
|
public NegTokenTarg()
public NegTokenTarg(int result, Oid mech, byte[] response)
result
- intmech
- Oidresponse
- byte[]public final int getResult()
public final Oid getSupportedMech()
public final boolean hasResponseToken()
public final byte[] getResponseToken()
public void decode(byte[] buf, int off, int len) throws IOException
buf
- byte[]off
- intlen
- intIOException
public byte[] encode() throws IOException
IOException
Copyright © 2005–2018 Alfresco Software. All rights reserved.