Uses of Enum
com.amazonaws.encryptionsdk.CommitmentPolicy
Packages that use CommitmentPolicy
Package
Description
Contains
AwsCrypto
, the primary entry-point to the Aws
Encryption SDK.Contains the internal classes that handle the cryptographic defined by the message formats and
algorithms.
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 CommitmentPolicyModifier and TypeMethodDescriptionstatic CommitmentPolicy
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 CommitmentPolicyModifier and TypeMethodDescriptionAwsCrypto.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 CommitmentPolicyModifier and TypeMethodDescriptionstatic 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 CommitmentPolicyModifierConstructorDescriptionEncryptionHandler(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 CommitmentPolicyModifier and TypeMethodDescriptionEncryptionMaterialsRequest.Builder.getCommitmentPolicy()
EncryptionMaterialsRequest.getCommitmentPolicy()
Methods in com.amazonaws.encryptionsdk.model with parameters of type CommitmentPolicyModifier and TypeMethodDescriptionEncryptionMaterialsRequest.Builder.setCommitmentPolicy(CommitmentPolicy commitmentPolicy)