Enum Class AuthAutoConfigurationProperties.Algorithm
java.lang.Object
java.lang.Enum<AuthAutoConfigurationProperties.Algorithm>
tech.riemann.nif.starter.auth.AuthAutoConfigurationProperties.Algorithm
- All Implemented Interfaces:
Serializable, Comparable<AuthAutoConfigurationProperties.Algorithm>, Constable
- Enclosing class:
AuthAutoConfigurationProperties
public static enum AuthAutoConfigurationProperties.Algorithm
extends Enum<AuthAutoConfigurationProperties.Algorithm>
JWT签名算法枚举
定义了支持的JWT签名算法,包括HMAC、RSA、EC和EdDSA系列
- Author:
- Kerbores(kerbores@gmail.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEd25519签名算法Ed448签名算法EdDSA签名算法ECDSA using P-256 and SHA-256ECDSA using secp256k1 and SHA-256ECDSA using P-384 and SHA-384ECDSA using P-521 and SHA-512HMAC-SHA256算法HMAC-SHA384算法HMAC-SHA512算法RSASSA-PSS with SHA-256RSASSA-PSS with SHA-384RSASSA-PSS with SHA-512RSASSA-PKCS1-v1_5 with SHA-256RSASSA-PKCS1-v1_5 with SHA-384RSASSA-PKCS1-v1_5 with SHA-512 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HS256
HMAC-SHA256算法 -
HS384
HMAC-SHA384算法 -
HS512
HMAC-SHA512算法 -
RS256
RSASSA-PKCS1-v1_5 with SHA-256 -
RS384
RSASSA-PKCS1-v1_5 with SHA-384 -
RS512
RSASSA-PKCS1-v1_5 with SHA-512 -
PS256
RSASSA-PSS with SHA-256 -
PS384
RSASSA-PSS with SHA-384 -
PS512
RSASSA-PSS with SHA-512 -
ES256
ECDSA using P-256 and SHA-256 -
ES256K
ECDSA using secp256k1 and SHA-256 -
ES384
ECDSA using P-384 and SHA-384 -
ES512
ECDSA using P-521 and SHA-512 -
EDDSA
EdDSA签名算法 -
ED25519
Ed25519签名算法 -
ED448
Ed448签名算法
-
-
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
-