public enum MatcherProtectionType extends java.lang.Enum<MatcherProtectionType>
| Enum Constant and Description |
|---|
MATCHER_PROTECTION_ON_CHIP
This flag SHOULD be set if the authenticator's matcher is running on the chip.
|
MATCHER_PROTECTION_SOFTWARE
This flag MUST be set if the authenticator's matcher is running in software.
|
MATCHER_PROTECTION_TEE
This flag SHOULD be set if the authenticator's matcher is running inside the Trusted Execution
Environment [TEE].
|
| Modifier and Type | Method and Description |
|---|---|
static MatcherProtectionType |
fromName(java.lang.String name) |
static MatcherProtectionType |
fromValue(int value) |
java.lang.String |
getName() |
short |
getValue() |
static MatcherProtectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatcherProtectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatcherProtectionType MATCHER_PROTECTION_SOFTWARE
MATCHER_PROTECTION_TEE, MATCHER_PROTECTION_ON_CHIP.
NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
public static final MatcherProtectionType MATCHER_PROTECTION_TEE
MATCHER_PROTECTION_SOFTWARE, MATCHER_PROTECTION_ON_CHIP.
NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
public static final MatcherProtectionType MATCHER_PROTECTION_ON_CHIP
MATCHER_PROTECTION_TEE, MATCHER_PROTECTION_SOFTWARE
NOTE: The above requirements apply to authenticators; this library DOES NOT enforce them.
public static MatcherProtectionType[] values()
for (MatcherProtectionType c : MatcherProtectionType.values()) System.out.println(c);
public static MatcherProtectionType 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 nullpublic static MatcherProtectionType fromValue(int value)
value matches any MatcherProtectionType constant, returns that
constant instance. Otherwise throws IllegalArgumentException.public static MatcherProtectionType fromName(java.lang.String name)
name matches any MatcherProtectionType constant, returns that
constant instance. Otherwise throws IllegalArgumentException.public short getValue()
public java.lang.String getName()