class S3CryptoModuleAEStrict extends S3CryptoModuleAE
contentCryptoScheme, cryptoConfig, cryptoScheme, DEFAULT_BUFFER_SIZE, kekMaterialsProvider, kms, log, multipartUploadContexts, s3
Constructor and Description |
---|
S3CryptoModuleAEStrict(AWSKMSClient kms,
S3Direct s3,
AWSCredentialsProvider credentialsProvider,
EncryptionMaterialsProvider encryptionMaterialsProvider,
CryptoConfiguration 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(ContentCryptoMaterial cekMaterial,
S3ObjectWrapper retrieved)
Checks if the the crypto scheme used in the given content crypto material
is allowed to be used in this crypto module.
|
adjustToDesiredRange, cipherLiteForNextPart, ciphertextLength, computeLastPartSize, getObjectSecurely, getObjectSecurely, newUploadContext, updateUploadContext, wrapForMultipart
abortMultipartUploadSecurely, appendUserAgent, completeMultipartUploadSecurely, copyPartSecurely, createContentCryptoMaterial, createInstructionGetRequest, createInstructionGetRequest, createInstructionPutRequest, fetchInstructionFile, generateCEK, getAdjustedCryptoRange, getS3CryptoScheme, initiateMultipartUploadSecurely, newMultipartS3CipherInputStream, plaintextLength, putInstructionFileSecurely, putLocalObjectSecurely, putObjectSecurely, updateInstructionPutRequest, updateMetadataWithContentCryptoMaterial, uploadPartSecurely, wrapWithCipher
S3CryptoModuleAEStrict(AWSKMSClient kms, S3Direct s3, AWSCredentialsProvider credentialsProvider, EncryptionMaterialsProvider encryptionMaterialsProvider, CryptoConfiguration cryptoConfig)
cryptoConfig
- a read-only copy of the crypto configuration.protected final boolean isStrict()
S3CryptoModuleAE
isStrict
in class S3CryptoModuleAE
protected void securityCheck(ContentCryptoMaterial cekMaterial, S3ObjectWrapper retrieved)
S3CryptoModuleBase
securityCheck
in class S3CryptoModuleBase<MultipartUploadCryptoContext>