Enum Class UserVerificationMethod
- All Implemented Interfaces:
Serializable
,Comparable<UserVerificationMethod>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf an authenticator sets multiple flags for the "_INTERNAL" and/or "_EXTERNAL" user verification types, it MAY also set this flag to indicate that all verification methods with respective flags set will be enforced (e.g.This flag MUST be set if the authenticator uses any form of eye biometrics for user verification.This flag MUST be set if the authenticator uses any manner of face recognition to verify the user.This flag MUST be set if the authenticator uses any type of measurement of a fingerprint for user verification.This flag MUST be set if the authenticator uses any measurement of a full hand (including palm-print, hand geometry or vein geometry) for user verification.This flag MUST be set if the authenticator uses any form of location sensor or measurement for user verification.This flag MUST be set if the authenticator will respond without any user interaction (e.g.This flag MUST be set if the authenticator uses a local-only passcode (i.e.This flag MUST be set if the authenticator uses a local-only passcode (i.e.This flag MUST be set if the authenticator uses a drawn pattern for user verification that might be gathered outside the authenticator boundary.This flag MUST be set if the authenticator uses a drawn pattern for user verification.This flag MUST be set if the authenticator is able to confirm user presence in any fashion.This flag MUST be set if the authenticator uses a voiceprint (also known as speaker recognition) for user verification. -
Method Summary
Modifier and TypeMethodDescriptionstatic UserVerificationMethod
static UserVerificationMethod
fromValue
(int value) getName()
int
getValue()
static UserVerificationMethod
Returns the enum constant of this class with the specified name.static UserVerificationMethod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_VERIFY_PRESENCE_INTERNAL
This flag MUST be set if the authenticator is able to confirm user presence in any fashion. If this flag and no other is set for user verification, the guarantee is only that the authenticator cannot be operated without some human intervention, not necessarily that the sensing of "presence" provides any level of user verification (e.g. a device that requires a button press to activate).NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_FINGERPRINT_INTERNAL
This flag MUST be set if the authenticator uses any type of measurement of a fingerprint for user verification.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_PASSCODE_INTERNAL
This flag MUST be set if the authenticator uses a local-only passcode (i.e. a passcode not known by the server) for user verification.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_VOICEPRINT_INTERNAL
This flag MUST be set if the authenticator uses a voiceprint (also known as speaker recognition) for user verification.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_FACEPRINT_INTERNAL
This flag MUST be set if the authenticator uses any manner of face recognition to verify the user.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_LOCATION_INTERNAL
This flag MUST be set if the authenticator uses any form of location sensor or measurement for user verification.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_EYEPRINT_INTERNAL
This flag MUST be set if the authenticator uses any form of eye biometrics for user verification.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_PATTERN_INTERNAL
This flag MUST be set if the authenticator uses a drawn pattern for user verification.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_HANDPRINT_INTERNAL
This flag MUST be set if the authenticator uses any measurement of a full hand (including palm-print, hand geometry or vein geometry) for user verification.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_PASSCODE_EXTERNAL
This flag MUST be set if the authenticator uses a local-only passcode (i.e. a passcode not known by the server) for user verification that might be gathered outside the authenticator boundary.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_PATTERN_EXTERNAL
This flag MUST be set if the authenticator uses a drawn pattern for user verification that might be gathered outside the authenticator boundary.NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_NONE
This flag MUST be set if the authenticator will respond without any user interaction (e.g. Silent Authenticator).NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
-
USER_VERIFY_ALL
If an authenticator sets multiple flags for the "_INTERNAL" and/or "_EXTERNAL" user verification types, it MAY also set this flag to indicate that all verification methods with respective flags set will be enforced (e.g. faceprint AND voiceprint). If flags for multiple user verification methods are set and this flag is not set, verification with only one is necessary (e.g. fingerprint OR passcode).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 anyUserVerificationMethod
constant, returns that constant instance. Otherwise throwsIllegalArgumentException
.
-
fromName
- Returns:
- If
name
matches anyUserVerificationMethod
constant, returns that constant instance. Otherwise throwsIllegalArgumentException
.
-
getValue
public int getValue() -
getName
-