Package org.ldaptive.ssl
Class X509DnDecoder
java.lang.Object
org.ldaptive.ssl.X509DnDecoder
Utility class for decoding the DER data in an X509 DN.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RDN_PATH
DER path for RDN parsing. -
ASSERTION_PATH
DER path for parsing attribute value assertion.
-
-
Constructor Details
-
X509DnDecoder
public X509DnDecoder()
-
-
Method Details
-
apply
-
decode
Converts bytes in the buffer to attribute value assertions by reading from the current position to the limit.- Parameters:
encoded
- buffer containing DER-encoded data where the buffer is positioned at the tag of the oid and the limit is set beyond the last byte of attribute value data.- Returns:
- decoded bytes as attribute value assertions
-