public enum CryptoKeyWrapAlgorithm extends Enum<CryptoKeyWrapAlgorithm>
Configure the key wrap algorithm to be used for encryption in in CryptoConfigurationV2
.
Note:This value can only be used in conjunction with the V2 version of the encryption client,
com.ibm.cloud.objectstorage.services.s3.AmazonS3EncryptionClientV2
.
Enum Constant and Description |
---|
AES_GCM_NoPadding
Default symmetric encryption algorithm
|
KMS
When the delivery mechanism is KMS (not an algorithm per se)
|
RSA_OAEP_SHA1
Default asymmetric encryption algorithm.
|
Modifier and Type | Method and Description |
---|---|
String |
algorithmName() |
static CryptoKeyWrapAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoKeyWrapAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoKeyWrapAlgorithm AES_GCM_NoPadding
public static final CryptoKeyWrapAlgorithm RSA_OAEP_SHA1
public static final CryptoKeyWrapAlgorithm KMS
public static CryptoKeyWrapAlgorithm[] values()
for (CryptoKeyWrapAlgorithm c : CryptoKeyWrapAlgorithm.values()) System.out.println(c);
public static CryptoKeyWrapAlgorithm 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 String algorithmName()
Copyright © 2024. All rights reserved.