public static enum SubjectAlternativeName.Type extends java.lang.Enum<SubjectAlternativeName.Type>
Enum Constant and Description |
---|
DIRECTORY_NAME |
DNS_NAME |
EDI_PARTY_NAME |
IP_ADDRESS_NAME |
OTHER_NAME |
RFC822_NAME |
UNIFORM_RESOURCE_IDENTIFIER_NAME |
X400ADDRESS_NAME |
Modifier and Type | Method and Description |
---|---|
static SubjectAlternativeName.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static SubjectAlternativeName.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final SubjectAlternativeName.Type OTHER_NAME
public static final SubjectAlternativeName.Type RFC822_NAME
public static final SubjectAlternativeName.Type DNS_NAME
public static final SubjectAlternativeName.Type X400ADDRESS_NAME
public static final SubjectAlternativeName.Type DIRECTORY_NAME
public static final SubjectAlternativeName.Type EDI_PARTY_NAME
public static final SubjectAlternativeName.Type UNIFORM_RESOURCE_IDENTIFIER_NAME
public static final SubjectAlternativeName.Type IP_ADDRESS_NAME
public static SubjectAlternativeName.Type[] values()
for (SubjectAlternativeName.Type c : SubjectAlternativeName.Type.values()) System.out.println(c);
public static SubjectAlternativeName.Type 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 name
java.lang.NullPointerException
- if the argument is null