java.lang.Object
org.codelibs.jcifs.smb.pac.Pac
Privilege Attribute Certificate (PAC) decoder for Kerberos tickets.
Parses and validates PAC data structures containing user authorization information
from Active Directory Kerberos tickets.
-
Constructor Summary
ConstructorsConstructorDescriptionPac(byte[] data, Map<Integer, KerberosKey> keys) Constructs and validates a PAC from raw data using provided Kerberos keys. -
Method Summary
Modifier and TypeMethodDescriptionReturns the PAC credential type information.Returns the KDC signature used to validate PAC authenticity.Returns the PAC logon information containing user authorization data.Returns the server signature used to validate PAC integrity.
-
Constructor Details
-
Pac
Constructs and validates a PAC from raw data using provided Kerberos keys.- Parameters:
data- the raw PAC data byteskeys- map of Kerberos keys for signature validation- Throws:
PACDecodingException- if the PAC data is malformed or signature validation fails
-
-
Method Details
-
getLogonInfo
Returns the PAC logon information containing user authorization data.- Returns:
- the PAC logon information
-
getCredentialType
Returns the PAC credential type information.- Returns:
- the PAC credential type
-
getServerSignature
Returns the server signature used to validate PAC integrity.- Returns:
- the server signature
-
getKdcSignature
Returns the KDC signature used to validate PAC authenticity.- Returns:
- the KDC signature
-