Package com.yubico.fido.metadata
Enum AuthenticationAlgorithm
- java.lang.Object
-
- java.lang.Enum<AuthenticationAlgorithm>
-
- com.yubico.fido.metadata.AuthenticationAlgorithm
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthenticationAlgorithm>
public enum AuthenticationAlgorithm extends java.lang.Enum<AuthenticationAlgorithm>
TheALG_SIGN
constants are 16 bit long integers indicating the specific signature algorithm and encoding.Each constant has a case-sensitive string representation (in quotes), which is used in the authoritative metadata for FIDO authenticators.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthenticationAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW
public static final AuthenticationAlgorithm ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW
-
ALG_SIGN_SECP256R1_ECDSA_SHA256_DER
public static final AuthenticationAlgorithm ALG_SIGN_SECP256R1_ECDSA_SHA256_DER
-
ALG_SIGN_RSASSA_PSS_SHA256_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PSS_SHA256_RAW
-
ALG_SIGN_RSASSA_PSS_SHA256_DER
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PSS_SHA256_DER
-
ALG_SIGN_SECP256K1_ECDSA_SHA256_RAW
public static final AuthenticationAlgorithm ALG_SIGN_SECP256K1_ECDSA_SHA256_RAW
-
ALG_SIGN_SECP256K1_ECDSA_SHA256_DER
public static final AuthenticationAlgorithm ALG_SIGN_SECP256K1_ECDSA_SHA256_DER
-
ALG_SIGN_RSA_EMSA_PKCS1_SHA256_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSA_EMSA_PKCS1_SHA256_RAW
-
ALG_SIGN_RSA_EMSA_PKCS1_SHA256_DER
public static final AuthenticationAlgorithm ALG_SIGN_RSA_EMSA_PKCS1_SHA256_DER
-
ALG_SIGN_RSASSA_PSS_SHA384_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PSS_SHA384_RAW
-
ALG_SIGN_RSASSA_PSS_SHA512_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PSS_SHA512_RAW
-
ALG_SIGN_RSASSA_PKCSV15_SHA256_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PKCSV15_SHA256_RAW
-
ALG_SIGN_RSASSA_PKCSV15_SHA384_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PKCSV15_SHA384_RAW
-
ALG_SIGN_RSASSA_PKCSV15_SHA512_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PKCSV15_SHA512_RAW
-
ALG_SIGN_RSASSA_PKCSV15_SHA1_RAW
public static final AuthenticationAlgorithm ALG_SIGN_RSASSA_PKCSV15_SHA1_RAW
-
ALG_SIGN_SECP384R1_ECDSA_SHA384_RAW
public static final AuthenticationAlgorithm ALG_SIGN_SECP384R1_ECDSA_SHA384_RAW
-
ALG_SIGN_SECP521R1_ECDSA_SHA512_RAW
public static final AuthenticationAlgorithm ALG_SIGN_SECP521R1_ECDSA_SHA512_RAW
-
ALG_SIGN_ED25519_EDDSA_SHA512_RAW
public static final AuthenticationAlgorithm ALG_SIGN_ED25519_EDDSA_SHA512_RAW
-
ALG_SIGN_ED448_EDDSA_SHA512_RAW
public static final AuthenticationAlgorithm ALG_SIGN_ED448_EDDSA_SHA512_RAW
-
-
Method Detail
-
values
public static AuthenticationAlgorithm[] 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 (AuthenticationAlgorithm c : AuthenticationAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationAlgorithm 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 namejava.lang.NullPointerException
- if the argument is null
-
-