final class DistinguishedNameParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
beg |
private char[] |
chars
Distinguished name characters.
|
private int |
cur
Temporary variable to store positions of the currently parsed item.
|
private java.lang.String |
dn |
private int |
end |
private int |
length |
private int |
pos |
Constructor and Description |
---|
DistinguishedNameParser(javax.security.auth.x500.X500Principal principal) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
escapedAV() |
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.
|
private int |
getByte(int position) |
private char |
getEscaped() |
private char |
getUTF8() |
private java.lang.String |
hexAV() |
private java.lang.String |
nextAT() |
private java.lang.String |
quotedAV() |
private final java.lang.String dn
private final int length
private int pos
private int beg
private int end
private int cur
private char[] chars
DistinguishedNameParser(javax.security.auth.x500.X500Principal principal)
private java.lang.String nextAT()
private java.lang.String quotedAV()
private java.lang.String hexAV()
private java.lang.String escapedAV()
private char getEscaped()
private char getUTF8()
private int getByte(int position)
public java.lang.String findMostSpecific(java.lang.String attributeType)
attributeType
- attribute type to look for (e.g. "ca")