public enum PublicKeyCredentialType extends java.lang.Enum<PublicKeyCredentialType>
It is an extensions point; values may 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.
Currently one credential type is defined, namely PUBLIC_KEY.
| Enum Constant and Description |
|---|
PUBLIC_KEY |
| Modifier and Type | Method and Description |
|---|---|
@NonNull java.lang.String |
getId() |
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 null@NonNull public @NonNull java.lang.String getId()