Enum Class AuthAutoConfigurationProperties.Curve
java.lang.Object
java.lang.Enum<AuthAutoConfigurationProperties.Curve>
tech.riemann.nif.starter.auth.AuthAutoConfigurationProperties.Curve
- All Implemented Interfaces:
Serializable, Comparable<AuthAutoConfigurationProperties.Curve>, Constable
- Enclosing class:
AuthAutoConfigurationProperties
public static enum AuthAutoConfigurationProperties.Curve
extends Enum<AuthAutoConfigurationProperties.Curve>
椭圆曲线类型枚举
用于EC(椭圆曲线)签名算法
- Author:
- Kerbores(kerbores@gmail.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
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
-
P_256
P-256曲线(NIST标准) -
SECP256K1
SECP256K1曲线(比特币使用的曲线) -
P_384
P-384曲线 -
P_521
P-521曲线 -
ED25519
ED25519曲线(EdDSA算法) -
ED448
ED448曲线 -
X25519
X25519曲线(密钥交换) -
X448
X448曲线(密钥交换)
-
-
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
-