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 and Description |
---|
EcdsaSha256 |
EcdsaSha384 |
EcdsaSha512 |
Sha224RsaPkcs1V15 |
Sha224RsaPkcsPss |
Sha256RsaPkcs1V15 |
Sha256RsaPkcsPss |
Sha384RsaPkcs1V15 |
Sha384RsaPkcsPss |
Sha512RsaPkcs1V15 |
Sha512RsaPkcsPss |
Modifier and Type | Method and 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.
|
public static final VerifyDataDetails.SigningAlgorithm Sha224RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha256RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha384RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha512RsaPkcsPss
public static final VerifyDataDetails.SigningAlgorithm Sha224RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm Sha256RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm Sha384RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm Sha512RsaPkcs1V15
public static final VerifyDataDetails.SigningAlgorithm EcdsaSha256
public static final VerifyDataDetails.SigningAlgorithm EcdsaSha384
public static final VerifyDataDetails.SigningAlgorithm EcdsaSha512
public static VerifyDataDetails.SigningAlgorithm[] values()
for (VerifyDataDetails.SigningAlgorithm c : VerifyDataDetails.SigningAlgorithm.values()) System.out.println(c);
public static VerifyDataDetails.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 VerifyDataDetails.SigningAlgorithm create(String key)
Copyright © 2016–2024. All rights reserved.