public enum SignAlgorithm extends Enum<SignAlgorithm>
Enum Constant and Description |
---|
MD2withRSA |
MD5withRSA |
NONEwithDSA |
NONEwithECDSA |
NONEwithRSA |
SHA1withDSA |
SHA1withECDSA |
SHA1withRSA |
SHA256withECDSA |
SHA256withRSA |
SHA256withRSA_PSS |
SHA384withECDSA |
SHA384withRSA |
SHA384withRSA_PSS |
SHA512withECDSA |
SHA512withRSA |
SHA512withRSA_PSS |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
获取算法字符串表示,区分大小写
|
static SignAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignAlgorithm NONEwithRSA
public static final SignAlgorithm MD2withRSA
public static final SignAlgorithm MD5withRSA
public static final SignAlgorithm SHA1withRSA
public static final SignAlgorithm SHA256withRSA
public static final SignAlgorithm SHA384withRSA
public static final SignAlgorithm SHA512withRSA
public static final SignAlgorithm NONEwithDSA
public static final SignAlgorithm SHA1withDSA
public static final SignAlgorithm NONEwithECDSA
public static final SignAlgorithm SHA1withECDSA
public static final SignAlgorithm SHA256withECDSA
public static final SignAlgorithm SHA384withECDSA
public static final SignAlgorithm SHA512withECDSA
public static final SignAlgorithm SHA256withRSA_PSS
public static final SignAlgorithm SHA384withRSA_PSS
public static final SignAlgorithm SHA512withRSA_PSS
public static SignAlgorithm[] values()
for (SignAlgorithm c : SignAlgorithm.values()) System.out.println(c);
public static SignAlgorithm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2024. All rights reserved.