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 intACCEPT_COMPLETEDstatic intACCEPT_INCOMPLETEstatic intREJECTEDstatic intREQUEST_MICstatic intUNSPECIFIED_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.ASN1ObjectIdentifiergetMechanism()intgetResult()protected voidparse(byte[] token)voidsetMechanism(org.bouncycastle.asn1.ASN1ObjectIdentifier mechanism)voidsetResult(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:
toByteArrayin classSpnegoToken
-
parse
protected void parse(byte[] token) throws IOException- Specified by:
parsein classSpnegoToken- Throws:
IOException
-
-