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