Enum UserVerificationMethod

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<UserVerificationMethod>

    public enum UserVerificationMethod
    extends java.lang.Enum<UserVerificationMethod>
    The USER_VERIFY constants are flags in a bitfield represented as a 32 bit long integer. They describe the methods and capabilities of a FIDO authenticator for locally verifying a user. The operational details of these methods are opaque to the server. These constants are used in the authoritative metadata for FIDO authenticators, reported and queried through the UAF Discovery APIs, and used to form authenticator policies in UAF protocol messages. Each constant has a case-sensitive string representation (in quotes), which is used in the authoritative metadata for FIDO authenticators.
    See Also:
    fromValue(int), fromName(String), FIDO Registry of Predefined Values §3.1 User Verification Methods
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      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.
      USER_VERIFY_EYEPRINT_INTERNAL
      This flag MUST be set if the authenticator uses any form of eye biometrics for user verification.
      USER_VERIFY_FACEPRINT_INTERNAL
      This flag MUST be set if the authenticator uses any manner of face recognition to verify the user.
      USER_VERIFY_FINGERPRINT_INTERNAL
      This flag MUST be set if the authenticator uses any type of measurement of a fingerprint for user verification.
      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.
      USER_VERIFY_LOCATION_INTERNAL
      This flag MUST be set if the authenticator uses any form of location sensor or measurement for user verification.
      USER_VERIFY_NONE
      This flag MUST be set if the authenticator will respond without any user interaction (e.g.
      USER_VERIFY_PASSCODE_EXTERNAL
      This flag MUST be set if the authenticator uses a local-only passcode (i.e.
      USER_VERIFY_PASSCODE_INTERNAL
      This flag MUST be set if the authenticator uses a local-only passcode (i.e.
      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.
      USER_VERIFY_PATTERN_INTERNAL
      This flag MUST be set if the authenticator uses a drawn pattern for user verification.
      USER_VERIFY_PRESENCE_INTERNAL
      This flag MUST be set if the authenticator is able to confirm user presence in any fashion.
      USER_VERIFY_VOICEPRINT_INTERNAL
      This flag MUST be set if the authenticator uses a voiceprint (also known as speaker recognition) for user verification.
    • Method Detail

      • values

        public static UserVerificationMethod[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UserVerificationMethod c : UserVerificationMethod.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserVerificationMethod valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • fromName

        public static UserVerificationMethod fromName​(java.lang.String name)
        Returns:
        If name matches any UserVerificationMethod constant, returns that constant instance. Otherwise throws IllegalArgumentException.
      • getValue

        public int getValue()
      • getName

        public java.lang.String getName()