Module jcifs

Class KerberosApRequest

java.lang.Object
org.codelibs.jcifs.smb.pac.kerberos.KerberosApRequest

public class KerberosApRequest extends Object
Represents a Kerberos AP-REQ (Application Request) message. This class parses and contains the authentication request sent from a client to a server.
  • Constructor Details

    • KerberosApRequest

      public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException
      Creates a Kerberos AP request from a token.
      Parameters:
      token - the Kerberos AP-REQ token
      keys - 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-REQ
      keys - 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

      public KerberosTicket getTicket()
      Get the Kerberos ticket from this AP request.
      Returns:
      the Kerberos ticket