Package jcifs.spnego
Class NegTokenTarg
- java.lang.Object
-
- jcifs.spnego.SpnegoToken
-
- jcifs.spnego.NegTokenTarg
-
public class NegTokenTarg extends SpnegoToken
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCEPT_COMPLETED
static int
ACCEPT_INCOMPLETE
static int
REJECTED
static int
REQUEST_MIC
static int
UNSPECIFIED_RESULT
-
Constructor Summary
Constructors Constructor Description NegTokenTarg()
NegTokenTarg(byte[] token)
NegTokenTarg(int result, org.bouncycastle.asn1.ASN1ObjectIdentifier mechanism, byte[] mechanismToken, byte[] mechanismListMIC)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1ObjectIdentifier
getMechanism()
int
getResult()
protected void
parse(byte[] token)
void
setMechanism(org.bouncycastle.asn1.ASN1ObjectIdentifier mechanism)
void
setResult(int result)
byte[]
toByteArray()
-
Methods inherited from class jcifs.spnego.SpnegoToken
getMechanismListMIC, getMechanismToken, setMechanismListMIC, setMechanismToken
-
-
-
-
Field Detail
-
UNSPECIFIED_RESULT
public static final int UNSPECIFIED_RESULT
- See Also:
- Constant Field Values
-
ACCEPT_COMPLETED
public static final int ACCEPT_COMPLETED
- See Also:
- Constant Field Values
-
ACCEPT_INCOMPLETE
public static final int ACCEPT_INCOMPLETE
- See Also:
- Constant Field Values
-
REJECTED
public static final int REJECTED
- See Also:
- Constant Field Values
-
REQUEST_MIC
public static final int REQUEST_MIC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NegTokenTarg
public NegTokenTarg()
-
NegTokenTarg
public NegTokenTarg(int result, org.bouncycastle.asn1.ASN1ObjectIdentifier mechanism, byte[] mechanismToken, byte[] mechanismListMIC)
-
NegTokenTarg
public NegTokenTarg(byte[] token) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getResult
public int getResult()
-
setResult
public void setResult(int result)
-
getMechanism
public org.bouncycastle.asn1.ASN1ObjectIdentifier getMechanism()
-
setMechanism
public void setMechanism(org.bouncycastle.asn1.ASN1ObjectIdentifier mechanism)
-
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArray
in classSpnegoToken
-
parse
protected void parse(byte[] token) throws IOException
- Specified by:
parse
in classSpnegoToken
- Throws:
IOException
-
-