Package net.sf.michaelo.tomcat.pac.asn1
Class AdIfRelevantAsn1Parser
java.lang.Object
net.sf.michaelo.tomcat.pac.asn1.AdIfRelevantAsn1Parser
A minimalist ASN.1 parser for Kerberos
AuthorizationData according to RFC 4120, section 5.2.6 for the
AD-IF-RELEVANT type. It unwraps all nested data as described in MS-PAC
structure.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic List<AuthorizationDataEntry>parse(byte[] adIfRelevant) Parses the ASN.1 structure and converts to a list ofAuthorizationDataEntryelements.
-
Field Details
-
AD_IF_RELEVANT
public static final int AD_IF_RELEVANT- See Also:
-
AD_WIN2K_PAC
public static final int AD_WIN2K_PAC- See Also:
-
-
Method Details
-
parse
Parses the ASN.1 structure and converts to a list ofAuthorizationDataEntryelements.- Parameters:
adIfRelevant- ASN.1 encoded data- Returns:
- a list of
AuthorizationDataEntryelements - Throws:
NullPointerException- ifadIfRelevantis nullIllegalArgumentException- ifadIfRelevantis empty
-