Package | Description |
---|---|
com.amazonaws.services.s3.internal.crypto |
Modifier and Type | Method and Description |
---|---|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromInstructionFile(S3Object instructionFile,
EncryptionMaterials materials,
Provider cryptoProvider)
Deprecated.
|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromInstructionFile(S3Object instructionFile,
EncryptionMaterialsProvider materialsProvider,
Provider cryptoProvider)
Builds an instruction object from the contents of an instruction file.
|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromObjectMetadata(S3Object object,
EncryptionMaterials materials,
Provider cryptoProvider)
Deprecated.
|
static EncryptionInstruction |
EncryptionUtils.buildInstructionFromObjectMetadata(S3Object object,
EncryptionMaterialsProvider materialsProvider,
Provider cryptoProvider)
Builds an instruction object from the object metadata.
|
static EncryptionInstruction |
EncryptionUtils.generateInstruction(EncryptionMaterials materials,
Provider cryptoProvider)
Deprecated.
|
static EncryptionInstruction |
EncryptionUtils.generateInstruction(EncryptionMaterialsProvider materialsProvider,
Provider cryptoProvider) |
Modifier and Type | Method and Description |
---|---|
static PutObjectRequest |
EncryptionUtils.createInstructionPutRequest(PutObjectRequest request,
EncryptionInstruction instruction)
Creates a put request to store the specified instruction object in S3.
|
static PutObjectRequest |
EncryptionUtils.createInstructionPutRequest(String bucketName,
String key,
EncryptionInstruction instruction) |
static S3Object |
EncryptionUtils.decryptObjectUsingInstruction(S3Object object,
EncryptionInstruction instruction)
Returns an updated object where the object content input stream contains the decrypted contents.
|
static PutObjectRequest |
EncryptionUtils.encryptRequestUsingInstruction(PutObjectRequest request,
EncryptionInstruction instruction)
Returns an updated request where the input stream contains the encrypted object contents.
|
static void |
EncryptionUtils.updateMetadataWithEncryptionInstruction(PutObjectRequest request,
EncryptionInstruction instruction)
Update the request's ObjectMetadata with the necessary information for decrypting the object
|
Copyright © 2016. All rights reserved.