protected static enum Krb5PrincipalName.Krb5PrincipalNameField extends Enum<Krb5PrincipalName.Krb5PrincipalNameField> implements org.apache.kerby.asn1.EnumType
| Enum Constant and Description |
|---|
PRINCIPAL_NAME |
REALM |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getValue() |
static Krb5PrincipalName.Krb5PrincipalNameField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Krb5PrincipalName.Krb5PrincipalNameField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Krb5PrincipalName.Krb5PrincipalNameField REALM
public static final Krb5PrincipalName.Krb5PrincipalNameField PRINCIPAL_NAME
public static Krb5PrincipalName.Krb5PrincipalNameField[] values()
for (Krb5PrincipalName.Krb5PrincipalNameField c : Krb5PrincipalName.Krb5PrincipalNameField.values()) System.out.println(c);
public static Krb5PrincipalName.Krb5PrincipalNameField 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.