public class LdapNameFormatter extends Object implements NameFormatter
Modifier and Type | Field and Description |
---|---|
static char |
ATV_SEPARATOR
Separator character between ATV components in the same RDN element.
|
static char |
ESCAPE_CHAR
Escape character.
|
static char |
RDN_SEPARATOR
Separator character between RDN components.
|
static String |
RESERVED_CHARS
String of characters that need to be escaped.
|
Constructor and Description |
---|
LdapNameFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
format(X500Principal dn)
Produces a string representation of the given X.500 principal.
|
public static final char RDN_SEPARATOR
public static final char ATV_SEPARATOR
public static final char ESCAPE_CHAR
public static final String RESERVED_CHARS
public String format(X500Principal dn)
NameFormatter
format
in interface NameFormatter
dn
- Distinguished name as an X.500 principal.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.