public enum KrbMessageType extends Enum<KrbMessageType> implements org.apache.kerby.asn1.EnumType
| Enum Constant and Description |
|---|
AP_REP |
AP_REQ |
AS_REP |
AS_REQ |
KRB_CRED |
KRB_ERROR |
KRB_PRIV |
KRB_SAFE |
NONE |
TGS_REP |
TGS_REQ |
| Modifier and Type | Method and Description |
|---|---|
static KrbMessageType |
fromValue(Integer value)
Get the KrbMessageType associated with a value.
|
String |
getName() |
int |
getValue() |
static KrbMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KrbMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KrbMessageType NONE
public static final KrbMessageType AS_REQ
public static final KrbMessageType AS_REP
public static final KrbMessageType TGS_REQ
public static final KrbMessageType TGS_REP
public static final KrbMessageType AP_REQ
public static final KrbMessageType AP_REP
public static final KrbMessageType KRB_SAFE
public static final KrbMessageType KRB_PRIV
public static final KrbMessageType KRB_CRED
public static final KrbMessageType KRB_ERROR
public static KrbMessageType[] values()
for (KrbMessageType c : KrbMessageType.values()) System.out.println(c);
public static KrbMessageType 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.EnumTypepublic static KrbMessageType fromValue(Integer value)
value - The integer value of the KrbMessageType we are looking forCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.