Enum Class MatcherProtectionType
- All Implemented Interfaces:
Serializable
,Comparable<MatcherProtectionType>
,Constable
The MATCHER_PROTECTION constants are flags in a bit field represented as a 16 bit long integer.
They describe the method an authenticator uses to protect the matcher that performs user
verification. These constants are reported and queried through the UAF Discovery APIs and used to
form authenticator policies in UAF protocol messages. Refer to [UAFAuthnrCommands] for more
details on the matcher component. Each constant has a case-sensitive string representation (in
quotes), which is used in the authoritative metadata for FIDO authenticators.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis flag SHOULD be set if the authenticator's matcher is running on the chip.This flag MUST be set if the authenticator's matcher is running in software.This flag SHOULD be set if the authenticator's matcher is running inside the Trusted Execution Environment [TEE]. -
Method Summary
Modifier and TypeMethodDescriptionstatic MatcherProtectionType
static MatcherProtectionType
fromValue
(int value) getName()
short
getValue()
static MatcherProtectionType
Returns the enum constant of this class with the specified name.static MatcherProtectionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MATCHER_PROTECTION_SOFTWARE
This flag MUST be set if the authenticator's matcher is running in software. Exclusive in authenticator metadata withMATCHER_PROTECTION_TEE
,MATCHER_PROTECTION_ON_CHIP
.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
MATCHER_PROTECTION_TEE
This flag SHOULD be set if the authenticator's matcher is running inside the Trusted Execution Environment [TEE]. Mutually exclusive in authenticator metadata withMATCHER_PROTECTION_SOFTWARE
,MATCHER_PROTECTION_ON_CHIP
.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
MATCHER_PROTECTION_ON_CHIP
This flag SHOULD be set if the authenticator's matcher is running on the chip. Mutually exclusive in authenticator metadata withMATCHER_PROTECTION_TEE
,MATCHER_PROTECTION_SOFTWARE
NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
-
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
-
fromValue
- Returns:
- If
value
matches anyMatcherProtectionType
constant, returns that constant instance. Otherwise throwsIllegalArgumentException
.
-
fromName
- Returns:
- If
name
matches anyMatcherProtectionType
constant, returns that constant instance. Otherwise throwsIllegalArgumentException
.
-
getValue
public short getValue() -
getName
-