public final class DistinguishedNameParser
extends java.lang.Object
| Constructor and Description |
|---|
DistinguishedNameParser(javax.security.auth.x500.X500Principal principal) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
findMostSpecific(java.lang.String attributeType)
Parses the DN and returns the most significant attribute value
for an attribute type, or null if none found.
|
java.util.List<java.lang.String> |
getAllMostSpecificFirst(java.lang.String attributeType)
Parses the DN and returns all values for an attribute type, in
the order of decreasing significance (most significant first).
|
public DistinguishedNameParser(javax.security.auth.x500.X500Principal principal)
public java.lang.String findMostSpecific(java.lang.String attributeType)
attributeType - attribute type to look for (e.g. "ca")public java.util.List<java.lang.String> getAllMostSpecificFirst(java.lang.String attributeType)
attributeType - attribute type to look for (e.g. "ca")