Enum VerifyDataDetails.SigningAlgorithm
- java.lang.Object
-
- java.lang.Enum<VerifyDataDetails.SigningAlgorithm>
-
- com.oracle.bmc.keymanagement.model.VerifyDataDetails.SigningAlgorithm
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<VerifyDataDetails.SigningAlgorithm>
- Enclosing class:
- VerifyDataDetails
public static enum VerifyDataDetails.SigningAlgorithm extends Enum<VerifyDataDetails.SigningAlgorithm> implements BmcEnum
The algorithm to use to sign the message or message digest.For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EcdsaSha256
EcdsaSha384
EcdsaSha512
Sha224RsaPkcs1V15
Sha224RsaPkcsPss
Sha256RsaPkcs1V15
Sha256RsaPkcsPss
Sha384RsaPkcs1V15
Sha384RsaPkcsPss
Sha512RsaPkcs1V15
Sha512RsaPkcsPss
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerifyDataDetails.SigningAlgorithm
create(String key)
String
getValue()
static VerifyDataDetails.SigningAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static VerifyDataDetails.SigningAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sha224RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha224RsaPkcsPss
-
Sha256RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha256RsaPkcsPss
-
Sha384RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha384RsaPkcsPss
-
Sha512RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha512RsaPkcsPss
-
Sha224RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm Sha224RsaPkcs1V15
-
Sha256RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm Sha256RsaPkcs1V15
-
Sha384RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm Sha384RsaPkcs1V15
-
Sha512RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm Sha512RsaPkcs1V15
-
EcdsaSha256
public static final VerifyDataDetails.SigningAlgorithm EcdsaSha256
-
EcdsaSha384
public static final VerifyDataDetails.SigningAlgorithm EcdsaSha384
-
EcdsaSha512
public static final VerifyDataDetails.SigningAlgorithm EcdsaSha512
-
-
Method Detail
-
values
public static VerifyDataDetails.SigningAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VerifyDataDetails.SigningAlgorithm c : VerifyDataDetails.SigningAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerifyDataDetails.SigningAlgorithm valueOf(String name)
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
-
create
public static VerifyDataDetails.SigningAlgorithm create(String key)
-
-