public static enum SignDataDetails.SigningAlgorithm extends Enum<SignDataDetails.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 and Description |
---|
EcdsaSha256 |
EcdsaSha384 |
EcdsaSha512 |
Sha224RsaPkcs1V15 |
Sha224RsaPkcsPss |
Sha256RsaPkcs1V15 |
Sha256RsaPkcsPss |
Sha384RsaPkcs1V15 |
Sha384RsaPkcsPss |
Sha512RsaPkcs1V15 |
Sha512RsaPkcsPss |
Modifier and Type | Method and Description |
---|---|
static SignDataDetails.SigningAlgorithm |
create(String key) |
String |
getValue() |
static SignDataDetails.SigningAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignDataDetails.SigningAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignDataDetails.SigningAlgorithm Sha224RsaPkcsPss
public static final SignDataDetails.SigningAlgorithm Sha256RsaPkcsPss
public static final SignDataDetails.SigningAlgorithm Sha384RsaPkcsPss
public static final SignDataDetails.SigningAlgorithm Sha512RsaPkcsPss
public static final SignDataDetails.SigningAlgorithm Sha224RsaPkcs1V15
public static final SignDataDetails.SigningAlgorithm Sha256RsaPkcs1V15
public static final SignDataDetails.SigningAlgorithm Sha384RsaPkcs1V15
public static final SignDataDetails.SigningAlgorithm Sha512RsaPkcs1V15
public static final SignDataDetails.SigningAlgorithm EcdsaSha256
public static final SignDataDetails.SigningAlgorithm EcdsaSha384
public static final SignDataDetails.SigningAlgorithm EcdsaSha512
public static SignDataDetails.SigningAlgorithm[] values()
for (SignDataDetails.SigningAlgorithm c : SignDataDetails.SigningAlgorithm.values()) System.out.println(c);
public static SignDataDetails.SigningAlgorithm 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 static SignDataDetails.SigningAlgorithm create(String key)
Copyright © 2016–2024. All rights reserved.