public enum NameType extends Enum<NameType> implements org.apache.kerby.asn1.EnumType
| Enum Constant and Description |
|---|
NT_ENTERPRISE |
NT_PRINCIPAL |
NT_SMTP_NAME |
NT_SRV_HST |
NT_SRV_INST |
NT_SRV_XHST |
NT_UID |
NT_UNKNOWN |
NT_WELLKNOWN |
NT_X500_PRINCIPAL |
| Modifier and Type | Method and Description |
|---|---|
static NameType |
fromValue(Integer value)
Get the NameType associated with a value.
|
String |
getName() |
int |
getValue() |
static NameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameType NT_UNKNOWN
public static final NameType NT_PRINCIPAL
public static final NameType NT_SRV_INST
public static final NameType NT_SRV_HST
public static final NameType NT_SRV_XHST
public static final NameType NT_UID
public static final NameType NT_X500_PRINCIPAL
public static final NameType NT_SMTP_NAME
public static final NameType NT_ENTERPRISE
public static final NameType NT_WELLKNOWN
public static NameType[] values()
for (NameType c : NameType.values()) System.out.println(c);
public static NameType 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 int getValue()
getValue in interface org.apache.kerby.asn1.EnumTypepublic String getName()
getName in interface org.apache.kerby.asn1.EnumTypeCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.