Package com.yubico.webauthn.data
Enum Class AttestationConveyancePreference
java.lang.Object
java.lang.Enum<AttestationConveyancePreference>
com.yubico.webauthn.data.AttestationConveyancePreference
- All Implemented Interfaces:
Serializable
,Comparable<AttestationConveyancePreference>
,Constable
Relying Parties may use this to specify their preference regarding attestation conveyance during
credential generation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the Relying Party wants to receive the attestation statement as generated by the authenticator.This value indicates that the Relying Party wants to receive an attestation statement that may include uniquely identifying information.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.Indicates that the Relying Party is not interested in authenticator attestation. -
Method Summary
Modifier and TypeMethodDescription@NonNull String
getValue()
Returns the enum constant of this class with the specified name.static AttestationConveyancePreference[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Indicates that the Relying Party is not interested in authenticator attestation.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.
-
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. The client MAY replace the authenticator-generated attestation statements with attestation statements generated by an Anonymization CA, in order to protect the user’s privacy, or to assist Relying Parties with attestation verification in a heterogeneous ecosystem.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.
-
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. This is intended for controlled deployments within an enterprise where the organization wishes to tie registrations to specific authenticators. User agents MUST NOT provide such an attestation unless the user agent or authenticator configuration permits it for the requested RP ID.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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-