Uses of Class
com.amazonaws.encryptionsdk.CommitmentPolicy
-
Packages that use CommitmentPolicy Package Description com.amazonaws.encryptionsdk ContainsAwsCrypto
, the primary entry-point to the Aws Encryption SDK.com.amazonaws.encryptionsdk.internal Contains the internal classes that handle the cryptographic defined by the message formats and algorithms.com.amazonaws.encryptionsdk.model Contains the classes that implement the defined message format for storing the encrypted content and the data key. -
-
Uses of CommitmentPolicy in com.amazonaws.encryptionsdk
Methods in com.amazonaws.encryptionsdk that return CommitmentPolicy Modifier and Type Method Description static CommitmentPolicy
CommitmentPolicy. valueOf(String name)
Returns the enum constant of this type with the specified name.static CommitmentPolicy[]
CommitmentPolicy. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.amazonaws.encryptionsdk with parameters of type CommitmentPolicy Modifier and Type Method Description AwsCrypto.Builder
AwsCrypto.Builder. withCommitmentPolicy(CommitmentPolicy commitmentPolicy)
Sets theCommitmentPolicy
of this Aws Crypto client. -
Uses of CommitmentPolicy in com.amazonaws.encryptionsdk.internal
Methods in com.amazonaws.encryptionsdk.internal with parameters of type CommitmentPolicy Modifier and Type Method Description static DecryptionHandler<?>
DecryptionHandler. create(CryptoMaterialsManager materialsManager, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)
Create a decryption handler using the provided materials manager.static DecryptionHandler<?>
DecryptionHandler. create(CryptoMaterialsManager materialsManager, CiphertextHeaders headers, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)
Deprecated.This version may have to recalculate the number of bytes already parsed, which adds a performance penalty.static DecryptionHandler<?>
DecryptionHandler. create(CryptoMaterialsManager materialsManager, ParsedCiphertext headers, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)
Create a decryption handler using the provided materials manager and already parsedheaders
.static <K extends MasterKey<K>>
DecryptionHandler<K>DecryptionHandler. create(MasterKeyProvider<K> customerMasterKeyProvider, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)
Create a decryption handler using the provided master key.static <K extends MasterKey<K>>
DecryptionHandler<K>DecryptionHandler. create(MasterKeyProvider<K> customerMasterKeyProvider, CiphertextHeaders headers, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)
Deprecated.This version may have to recalculate the number of bytes already parsed, which adds a performance penalty.static <K extends MasterKey<K>>
DecryptionHandler<K>DecryptionHandler. create(MasterKeyProvider<K> customerMasterKeyProvider, ParsedCiphertext headers, CommitmentPolicy commitmentPolicy, SignaturePolicy signaturePolicy, int maxEncryptedDataKeys)
Create a decryption handler using the provided master key and already parsedheaders
.Constructors in com.amazonaws.encryptionsdk.internal with parameters of type CommitmentPolicy Constructor Description EncryptionHandler(int frameSize, EncryptionMaterials result, CommitmentPolicy commitmentPolicy)
Create an encryption handler using the provided master key and encryption context. -
Uses of CommitmentPolicy in com.amazonaws.encryptionsdk.model
Methods in com.amazonaws.encryptionsdk.model that return CommitmentPolicy Modifier and Type Method Description CommitmentPolicy
EncryptionMaterialsRequest.Builder. getCommitmentPolicy()
CommitmentPolicy
EncryptionMaterialsRequest. getCommitmentPolicy()
Methods in com.amazonaws.encryptionsdk.model with parameters of type CommitmentPolicy Modifier and Type Method Description EncryptionMaterialsRequest.Builder
EncryptionMaterialsRequest.Builder. setCommitmentPolicy(CommitmentPolicy commitmentPolicy)
-