public enum SignatureAlgorithm extends Enum<SignatureAlgorithm>
| Enum Constant and Description |
|---|
ECDSA_P256_SHA_256 |
ECDSA_P256K_SHA_256 |
RSA_PKCS1_SHA_256 |
RSA_PSS_SHA_256 |
SM2DSA |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
String |
getDigestAlgorithm() |
String |
getKeySpec() |
static SignatureAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureAlgorithm RSA_PSS_SHA_256
public static final SignatureAlgorithm RSA_PKCS1_SHA_256
public static final SignatureAlgorithm ECDSA_P256_SHA_256
public static final SignatureAlgorithm ECDSA_P256K_SHA_256
public static final SignatureAlgorithm SM2DSA
public static SignatureAlgorithm[] values()
for (SignatureAlgorithm c : SignatureAlgorithm.values()) System.out.println(c);
public static SignatureAlgorithm 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 getKeySpec()
public String getAlgorithm()
public String getDigestAlgorithm()
Copyright © 2020. All rights reserved.