public enum TBSFieldName extends java.lang.Enum<TBSFieldName>
| Modifier and Type | Class and Description |
|---|---|
static class |
TBSFieldName.AttributeReferenceClass |
| Enum Constant and Description |
|---|
EXTENSIONS
Certificate extension fields
|
ISSUER
Distinguished name of certificate signer
|
ISSUER_UNIQUE_ID
Certificate issuer unique id
|
SERIAL_NUMBER
Certificate serial number
|
SIGNATURE
Certificate signature algorithm
|
SUBJECT
Distinguished name of the entity associated with the public key
|
SUBJECT_PUBLIC_KEY_INFO
Certificate public key and algorithm
|
SUBJECT_UNIQUE_ID
Certificate subject unique id
|
VALIDITY
Certificate valid to and valid from dates
|
VERSION
Certificate version
|
| Modifier and Type | Method and Description |
|---|---|
static TBSFieldName |
fromToken(java.lang.String token)
Gets the field name associated with a specific token string.
|
java.lang.String |
getDisplay()
Gets a human readable display name of the field.
|
java.util.Collection<java.lang.String> |
getFieldTokens()
Some fields may contain complex structure and multiple value may be extracted from the field or may required
additional qualifiers to identify a specific value.
|
java.lang.Class<? extends TBSField<?>> |
getReferenceClass(java.lang.String tokenName)
Gets the class implementing the field name.
|
java.lang.String |
getRfcName()
Gets the name of the field as defined by RFC5280.
|
java.lang.String |
toString() |
static TBSFieldName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TBSFieldName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TBSFieldName VERSION
public static final TBSFieldName SERIAL_NUMBER
public static final TBSFieldName SIGNATURE
public static final TBSFieldName ISSUER
public static final TBSFieldName VALIDITY
public static final TBSFieldName SUBJECT
public static final TBSFieldName ISSUER_UNIQUE_ID
public static final TBSFieldName SUBJECT_UNIQUE_ID
public static final TBSFieldName EXTENSIONS
public static final TBSFieldName SUBJECT_PUBLIC_KEY_INFO
public static TBSFieldName[] values()
for (TBSFieldName c : TBSFieldName.values()) System.out.println(c);
public static TBSFieldName 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.util.Collection<java.lang.String> getFieldTokens()
public java.lang.Class<? extends TBSField<?>> getReferenceClass(java.lang.String tokenName)
public static TBSFieldName fromToken(java.lang.String token)
token - The token used to look up the TBSFieldName.public java.lang.String toString()
toString in class java.lang.Enum<TBSFieldName>Copyright © 2010-2019 The Direct Project. All Rights Reserved.