public enum X509FieldType extends java.lang.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(java.lang.String token)
Gets the field type associated with a specific token string.
|
java.lang.String |
getDisplay()
Gets a human readable display name of the field.
|
java.lang.String |
getFieldToken()
Gets the token of the field used in a lexicon parser.
|
java.lang.Class<? extends X509Field<?>> |
getReferenceClass()
Gets the class implementing the field type.
|
java.lang.String |
getRfcName()
Gets the name of the field as defined by RFC5280.
|
java.lang.String |
toString() |
static X509FieldType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getRfcName()
public java.lang.String getDisplay()
public java.lang.Class<? extends X509Field<?>> getReferenceClass()
public java.lang.String getFieldToken()
public static X509FieldType fromToken(java.lang.String token)
token - The token used to look up the X509FieldType.public java.lang.String toString()
toString in class java.lang.Enum<X509FieldType>Copyright © 2010-2019 The Direct Project. All Rights Reserved.