public enum PublicKeyCredentialType extends java.lang.Enum<PublicKeyCredentialType>
PublicKeyCredentialType defines the valid credential types. It is an extension point;
values can be added to it in the future, as more credential types are defined.
The values of this enumeration are used for versioning the Authentication Assertion and attestation structures
according to the type of the authenticator.| Enum Constant and Description |
|---|
PUBLIC_KEY |
| Modifier and Type | Method and Description |
|---|---|
static PublicKeyCredentialType |
create(java.lang.String value) |
java.lang.String |
getValue() |
static PublicKeyCredentialType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublicKeyCredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicKeyCredentialType PUBLIC_KEY
public static PublicKeyCredentialType[] values()
for (PublicKeyCredentialType c : PublicKeyCredentialType.values()) System.out.println(c);
public static PublicKeyCredentialType 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 namejava.lang.NullPointerException - if the argument is nullpublic static PublicKeyCredentialType create(java.lang.String value)
public java.lang.String getValue()