public class S3CryptoModuleAEStrict extends S3CryptoModuleAE
contentCryptoScheme, cryptoConfig, DEFAULT_BUFFER_SIZE, kekMaterialsProvider, kms, log, multipartUploadContexts, s3
Constructor and Description |
---|
S3CryptoModuleAEStrict(AWSKMS kms,
S3Direct s3,
AWSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider encryptionMaterialsProvider,
CryptoConfigurationV2 cryptoConfig) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isStrict()
Returns true if a strict encryption mode is in use in the current crypto
module; false otherwise.
|
protected void |
securityCheck(com.amazonaws.services.s3.internal.crypto.v2.ContentCryptoMaterial cekMaterial,
S3ObjectId objectId,
boolean isRangeGet)
Checks if the the crypto scheme used in the given content crypto material
is allowed to be used in this crypto module.
|
adjustToDesiredRange, ciphertextLength, getObjectSecurely, getObjectSecurely, isRangeGetEnabled
abortMultipartUploadSecurely, completeMultipartUploadSecurely, copyPartSecurely, createContentCryptoMaterial, createInstructionPutRequest, generateCEK, getCryptoConfiguration, getEncryptionMaterialsProvider, initiateMultipartUploadSecurely, newMultipartS3CipherInputStream, plaintextLength, putInstructionFileSecurely, putLocalObjectSecurely, putObjectSecurely, updateInstructionPutRequest, updateMetadataWithContentCryptoMaterial, uploadPartSecurely, wrapWithCipher
public S3CryptoModuleAEStrict(AWSKMS kms, S3Direct s3, AWSCredentialsProvider credentialsProvider, EncryptionMaterialsProvider encryptionMaterialsProvider, CryptoConfigurationV2 cryptoConfig)
cryptoConfig
- a read-only copy of the crypto configuration.protected final boolean isStrict()
S3CryptoModuleAE
isStrict
in class S3CryptoModuleAE
protected void securityCheck(com.amazonaws.services.s3.internal.crypto.v2.ContentCryptoMaterial cekMaterial, S3ObjectId objectId, boolean isRangeGet)
S3CryptoModuleBase
Copyright © 2023. All rights reserved.