| Modifier and Type | Method and Description | 
|---|---|
AwsCrypto | 
build()  | 
AwsCrypto.Builder | 
withCommitmentPolicy(CommitmentPolicy commitmentPolicy)
Sets the  
CommitmentPolicy of this Aws Crypto client. | 
AwsCrypto.Builder | 
withEncryptionAlgorithm(CryptoAlgorithm encryptionAlgorithm)
Sets the  
CryptoAlgorithm to encrypt with. | 
AwsCrypto.Builder | 
withEncryptionFrameSize(int frameSize)
Sets the frame size of the encrypted messages that the Aws Crypto client produces. 
 | 
AwsCrypto.Builder | 
withMaxEncryptedDataKeys(int maxEncryptedDataKeys)
Sets the maximum number of encrypted data keys that this Aws Crypto client will wrap when
 encrypting, or unwrap when decrypting, a single message. 
 | 
public AwsCrypto.Builder withEncryptionAlgorithm(CryptoAlgorithm encryptionAlgorithm)
CryptoAlgorithm to encrypt with. The Aws Crypto client will use the last
 crypto algorithm set with either withEncryptionAlgorithm(CryptoAlgorithm) or AwsCrypto.setEncryptionAlgorithm(CryptoAlgorithm) to encrypt with.encryptionAlgorithm - The CryptoAlgorithmpublic AwsCrypto.Builder withEncryptionFrameSize(int frameSize)
withEncryptionFrameSize(int) or AwsCrypto.setEncryptionFrameSize(int).frameSize - The frame size to produce encrypted messages with.public AwsCrypto.Builder withCommitmentPolicy(CommitmentPolicy commitmentPolicy)
CommitmentPolicy of this Aws Crypto client.commitmentPolicy - The commitment policy to enforce during encryption and decryptionpublic AwsCrypto.Builder withMaxEncryptedDataKeys(int maxEncryptedDataKeys)
maxEncryptedDataKeys - The maximum number of encrypted data keys; must be positivepublic AwsCrypto build()
Copyright © 2023. All rights reserved.