Enum SignedData.SigningAlgorithm
- java.lang.Object
-
- java.lang.Enum<SignedData.SigningAlgorithm>
-
- com.oracle.bmc.keymanagement.model.SignedData.SigningAlgorithm
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SignedData.SigningAlgorithm>
- Enclosing class:
- SignedData
public static enum SignedData.SigningAlgorithm extends Enum<SignedData.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
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignedData.SigningAlgorithm
create(String key)
String
getValue()
static SignedData.SigningAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static SignedData.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 SignedData.SigningAlgorithm Sha224RsaPkcsPss
-
Sha256RsaPkcsPss
public static final SignedData.SigningAlgorithm Sha256RsaPkcsPss
-
Sha384RsaPkcsPss
public static final SignedData.SigningAlgorithm Sha384RsaPkcsPss
-
Sha512RsaPkcsPss
public static final SignedData.SigningAlgorithm Sha512RsaPkcsPss
-
Sha224RsaPkcs1V15
public static final SignedData.SigningAlgorithm Sha224RsaPkcs1V15
-
Sha256RsaPkcs1V15
public static final SignedData.SigningAlgorithm Sha256RsaPkcs1V15
-
Sha384RsaPkcs1V15
public static final SignedData.SigningAlgorithm Sha384RsaPkcs1V15
-
Sha512RsaPkcs1V15
public static final SignedData.SigningAlgorithm Sha512RsaPkcs1V15
-
EcdsaSha256
public static final SignedData.SigningAlgorithm EcdsaSha256
-
EcdsaSha384
public static final SignedData.SigningAlgorithm EcdsaSha384
-
EcdsaSha512
public static final SignedData.SigningAlgorithm EcdsaSha512
-
UnknownEnumValue
public static final SignedData.SigningAlgorithm UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static SignedData.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 (SignedData.SigningAlgorithm c : SignedData.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 SignedData.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 SignedData.SigningAlgorithm create(String key)
-
-