public interface Principal
RFC 2253.
 CN commonName L localityName ST stateOrProvinceName O organizationName OU organizationalUnitName C countryName
| Modifier and Type | Field and Description | 
|---|---|
| static int | FIELD_CC: Country | 
| static int | FIELD_CNCN: Common name | 
| static int | FIELD_LL: Locality | 
| static int | FIELD_OO: Organization | 
| static int | FIELD_OUOU: Organizational Unit | 
| static int | FIELD_STST: State or Province | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getValue(int field)Gets the value of one of the fields. | 
| String | toString()Gets a string representation of the X.500 distinguished name using the format defined in RFC 2253. | 
static final int FIELD_CN
static final int FIELD_L
static final int FIELD_ST
static final int FIELD_O
static final int FIELD_OU
static final int FIELD_C
String getValue(int field)
field - One of the 6 well-known fields.IndexOutOfBoundsException - if field is out of bounds.