java.lang.Object
org.codelibs.jcifs.smb.pac.kerberos.KerberosApRequest
Represents a Kerberos AP-REQ (Application Request) message.
This class parses and contains the authentication request sent from a client to a server.
-
Constructor Summary
ConstructorsConstructorDescriptionKerberosApRequest(byte[] token, KerberosKey[] keys) Creates a Kerberos AP request from a token.KerberosApRequest(org.bouncycastle.asn1.ASN1Sequence seq, KerberosKey[] keys) Creates a Kerberos AP request from an ASN.1 sequence. -
Method Summary
Modifier and TypeMethodDescriptionbyteGet the AP options flags.Get the Kerberos ticket from this AP request.
-
Constructor Details
-
KerberosApRequest
Creates a Kerberos AP request from a token.- Parameters:
token- the Kerberos AP-REQ tokenkeys- the Kerberos keys for decryption- Throws:
PACDecodingException- if the token cannot be decoded
-
KerberosApRequest
public KerberosApRequest(org.bouncycastle.asn1.ASN1Sequence seq, KerberosKey[] keys) throws PACDecodingException Creates a Kerberos AP request from an ASN.1 sequence.- Parameters:
seq- the ASN.1 sequence containing the AP-REQkeys- the Kerberos keys for decryption- Throws:
PACDecodingException- if the sequence cannot be decoded
-
-
Method Details
-
getApOptions
public byte getApOptions()Get the AP options flags.- Returns:
- the AP options byte
-
getTicket
Get the Kerberos ticket from this AP request.- Returns:
- the Kerberos ticket
-