Package ej.kf
Interface Principal
-
public interface PrincipalThis interface represents and identifies the Kernel or a Feature. Identification uses the 6 well-known fields defined inRFC 2253.CN commonName L localityName ST stateOrProvinceName O organizationName OU organizationalUnitName C countryName
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetValue(int field)Gets the value of one of the fields.StringtoString()Gets a string representation of the X.500 distinguished name using the format defined in RFC 2253.
-
-
-
Field Detail
-
FIELD_CN
static final int FIELD_CN
CN: Common name- See Also:
- Constant Field Values
-
FIELD_L
static final int FIELD_L
L: Locality- See Also:
- Constant Field Values
-
FIELD_ST
static final int FIELD_ST
ST: State or Province- See Also:
- Constant Field Values
-
FIELD_O
static final int FIELD_O
O: Organization- See Also:
- Constant Field Values
-
FIELD_OU
static final int FIELD_OU
OU: Organizational Unit- See Also:
- Constant Field Values
-
FIELD_C
static final int FIELD_C
C: Country- See Also:
- Constant Field Values
-
-
Method Detail
-
getValue
String getValue(int field)
Gets the value of one of the fields.- Parameters:
field- One of the 6 well-known fields.- Returns:
- the value of the required field.
- Throws:
IndexOutOfBoundsException- if field is out of bounds.
-
-