public enum AttestationConveyancePreference extends java.lang.Enum<AttestationConveyancePreference>
| Enum Constant and Description |
|---|
DIRECT
Indicates that the Relying Party wants to receive the attestation statement as generated by the
authenticator.
|
ENTERPRISE
This value indicates that the Relying Party wants to receive an attestation statement that may
include uniquely identifying information.
|
INDIRECT
Indicates that the Relying Party prefers an attestation conveyance yielding verifiable
attestation statements, but allows the client to decide how to obtain such attestation
statements.
|
NONE
Indicates that the Relying Party is not interested in authenticator attestation.
|
| Modifier and Type | Method and Description |
|---|---|
@NonNull java.lang.String |
getValue() |
static AttestationConveyancePreference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttestationConveyancePreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttestationConveyancePreference NONE
For example, in order to potentially avoid having to obtain user consent to relay identifying information to the Relying Party, or to save a roundtrip to an Attestation CA.
This is the default value.
public static final AttestationConveyancePreference INDIRECT
Note: There is no guarantee that the Relying Party will obtain a verifiable attestation statement in this case. For example, in the case that the authenticator employs self attestation.
public static final AttestationConveyancePreference DIRECT
public static final AttestationConveyancePreference ENTERPRISE
If permitted, the user agent SHOULD signal to the authenticator (at invocation time) that enterprise attestation is requested, and convey the resulting AAGUID and attestation statement, unaltered, to the Relying Party.
public static AttestationConveyancePreference[] values()
for (AttestationConveyancePreference c : AttestationConveyancePreference.values()) System.out.println(c);
public static AttestationConveyancePreference 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 getValue()