public enum SignatureAlgorithm extends java.lang.Enum<SignatureAlgorithm>
Enum Constant | Description |
---|---|
ECDSA |
Elliptic Curve Digital Signature Algorithm
|
RSA_RSA |
RSA with PKCS#1 v1.5
|
RSA_SSA_PSS |
RSA with SSA-PSS (PKCS#1 v2.1)
|
Modifier and Type | Method | Description |
---|---|---|
static SignatureAlgorithm |
valueOf(java.lang.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_RSA
public static final SignatureAlgorithm RSA_SSA_PSS
RSA_RSA
.
However, it is not supported by all cryptographic providers.public static final SignatureAlgorithm ECDSA
public static SignatureAlgorithm[] values()
for (SignatureAlgorithm c : SignatureAlgorithm.values()) System.out.println(c);
public static SignatureAlgorithm valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null