Package org.ldaptive.ssl
Class X509DnDecoder
- java.lang.Object
-
- org.ldaptive.ssl.X509DnDecoder
-
-
Field Summary
Fields Modifier and Type Field Description private static DERPath
ASSERTION_PATH
DER path for parsing attribute value assertion.private static DERPath
RDN_PATH
DER path for RDN parsing.
-
Constructor Summary
Constructors Constructor Description X509DnDecoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Dn
apply(DERBuffer encoded)
private static List<NameValue>
decode(DERBuffer encoded)
Converts bytes in the buffer to attribute value assertions by reading from the current position to the limit.
-
-
-
Method Detail
-
decode
private static List<NameValue> decode(DERBuffer encoded)
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
-
-