public enum TokenFormat extends Enum<TokenFormat> implements org.apache.kerby.asn1.EnumType
| Modifier and Type | Method and Description |
|---|---|
static TokenFormat |
fromValue(Integer value) |
String |
getName() |
int |
getValue() |
static TokenFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenFormat NONE
public static final TokenFormat JWT
public static TokenFormat[] values()
for (TokenFormat c : TokenFormat.values()) System.out.println(c);
public static TokenFormat 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 TokenFormat fromValue(Integer value)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.