public enum X509FieldType extends Enum<X509FieldType>
| Enum Constant and Description |
|---|
SIGNATURE
The certificates signature.
|
SIGNATURE_ALGORITHM
The algorithm used to sign the certificates.
|
TBS
The to be signed fields of the certificate.
|
| Modifier and Type | Method and Description |
|---|---|
static X509FieldType |
fromToken(String token)
Gets the field type associated with a specific token string.
|
String |
getDisplay()
Gets a human readable display name of the field.
|
String |
getFieldToken()
Gets the token of the field used in a lexicon parser.
|
Class<? extends X509Field<?>> |
getReferenceClass()
Gets the class implementing the field type.
|
String |
getRfcName()
Gets the name of the field as defined by RFC5280.
|
String |
toString() |
static X509FieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static X509FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final X509FieldType SIGNATURE
public static final X509FieldType SIGNATURE_ALGORITHM
public static final X509FieldType TBS
public static X509FieldType[] values()
for (X509FieldType c : X509FieldType.values()) System.out.println(c);
public static X509FieldType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getRfcName()
public String getDisplay()
public Class<? extends X509Field<?>> getReferenceClass()
public String getFieldToken()
public static X509FieldType fromToken(String token)
token - The token used to look up the X509FieldType.public String toString()
toString in class Enum<X509FieldType>Copyright © 2010-2016 The Direct Project. All Rights Reserved.