Module jcifs

Class Pac

java.lang.Object
org.codelibs.jcifs.smb.pac.Pac

public class Pac extends Object
Privilege Attribute Certificate (PAC) decoder for Kerberos tickets. Parses and validates PAC data structures containing user authorization information from Active Directory Kerberos tickets.
  • Constructor Details

    • Pac

      public Pac(byte[] data, Map<Integer,KerberosKey> keys) throws PACDecodingException
      Constructs and validates a PAC from raw data using provided Kerberos keys.
      Parameters:
      data - the raw PAC data bytes
      keys - map of Kerberos keys for signature validation
      Throws:
      PACDecodingException - if the PAC data is malformed or signature validation fails
  • Method Details

    • getLogonInfo

      public PacLogonInfo getLogonInfo()
      Returns the PAC logon information containing user authorization data.
      Returns:
      the PAC logon information
    • getCredentialType

      public PacCredentialType getCredentialType()
      Returns the PAC credential type information.
      Returns:
      the PAC credential type
    • getServerSignature

      public PacSignature getServerSignature()
      Returns the server signature used to validate PAC integrity.
      Returns:
      the server signature
    • getKdcSignature

      public PacSignature getKdcSignature()
      Returns the KDC signature used to validate PAC authenticity.
      Returns:
      the KDC signature