Package cn.gmkit.core
Enum SM2SignatureInputFormat
- All Implemented Interfaces:
Serializable,Comparable<SM2SignatureInputFormat>,java.lang.constant.Constable
SM2 签名输入格式。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SM2SignatureInputFormatReturns the enum constant of this type with the specified name.static SM2SignatureInputFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RAW
原始格式,64字节的R和S值拼接 -
DER
DER编码格式,ASN.1标准编码 -
AUTO
自动检测格式
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-