Package net.visma.autopay.http.signature
Enum Class SignatureAlgorithm
- All Implemented Interfaces:
Serializable
,Comparable<SignatureAlgorithm>
,Constable
Signature algorithms
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionECDSA using curve P-256 DSS and SHA-256ECDSA using curve P-384 DSS and SHA-384Edwards Curve DSA using curve edwards25519HMAC using SHA-256RSASSA-PSS using SHA-512RSASSA-PKCS1-v1_5 using SHA-256 -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureAlgorithm
Returns the enum constant of this class with the specified name.static SignatureAlgorithm[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RSA_PSS_SHA_512
RSASSA-PSS using SHA-512- See Also:
-
RSA_SHA_256
RSASSA-PKCS1-v1_5 using SHA-256- See Also:
-
HMAC_SHA_256
HMAC using SHA-256- See Also:
-
ECDSA_P256_SHA_256
ECDSA using curve P-256 DSS and SHA-256- See Also:
-
ECDSA_P384_SHA_384
ECDSA using curve P-384 DSS and SHA-384- See Also:
-
ED_25519
Edwards Curve DSA using curve edwards25519- See Also:
-
-
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
-