Package | Description |
---|---|
com.amazonaws.services.s3 |
Synchronous client for accessing Amazon S3.
|
com.amazonaws.services.s3.internal.crypto | |
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Constructor and Description |
---|
AmazonS3EncryptionClient(AWSCredentials credentials,
EncryptionMaterials encryptionMaterials)
Constructs a new Amazon S3 Encryption client using the specified AWS credentials to
access Amazon S3.
|
AmazonS3EncryptionClient(AWSCredentials credentials,
EncryptionMaterials encryptionMaterials,
ClientConfiguration clientConfig,
CryptoConfiguration cryptoConfig)
Constructs a new Amazon S3 Encryption client using the specified AWS credentials and
client configuration to access Amazon S3.
|
AmazonS3EncryptionClient(AWSCredentials credentials,
EncryptionMaterials encryptionMaterials,
CryptoConfiguration cryptoConfig)
Constructs a new Amazon S3 Encryption client using the specified AWS credentials to
access Amazon S3.
|
AmazonS3EncryptionClient(EncryptionMaterials encryptionMaterials)
Constructs a new Amazon S3 Encryption client that will make anonymous
requests to Amazon S3.
|
AmazonS3EncryptionClient(EncryptionMaterials encryptionMaterials,
CryptoConfiguration cryptoConfig)
Constructs a new Amazon S3 Encryption client that will make anonymous
requests to Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
private ContentCryptoMaterial |
S3CryptoModuleBase.buildContentCryptoMaterial(EncryptionMaterials materials,
java.security.Provider provider,
AmazonWebServiceRequest req) |
private static javax.crypto.SecretKey |
ContentCryptoMaterial.cek(byte[] cekSecured,
java.lang.String keyWrapAlgo,
EncryptionMaterials materials,
java.security.Provider securityProvider,
ContentCryptoScheme contentCryptoScheme,
AWSKMSClient kms)
Returns the content encrypting key unwrapped or decrypted.
|
private static javax.crypto.SecretKey |
ContentCryptoMaterial.cekByKMS(byte[] cekSecured,
java.lang.String keyWrapAlgo,
EncryptionMaterials materials,
ContentCryptoScheme contentCryptoScheme,
AWSKMSClient kms)
Decrypts the secured CEK via KMS; involves network calls.
|
(package private) static ContentCryptoMaterial |
ContentCryptoMaterial.create(javax.crypto.SecretKey cek,
byte[] iv,
EncryptionMaterials kekMaterials,
ContentCryptoScheme contentCryptoScheme,
S3CryptoScheme targetScheme,
java.security.Provider provider,
AWSKMSClient kms,
AmazonWebServiceRequest req)
Returns a new instance of
ContentCryptoMaterial for the
input parameters using the specified content crypto scheme, and the key
wrapping and secure randomness specified of the specified s3 crypto
scheme. |
(package private) static ContentCryptoMaterial |
ContentCryptoMaterial.create(javax.crypto.SecretKey cek,
byte[] iv,
EncryptionMaterials kekMaterials,
S3CryptoScheme scheme,
java.security.Provider provider,
AWSKMSClient kms,
AmazonWebServiceRequest req)
Returns a new instance of
ContentCryptoMaterial
for the input parameters using the specified s3 crypto scheme. |
private static ContentCryptoMaterial |
ContentCryptoMaterial.doCreate(javax.crypto.SecretKey cek,
byte[] iv,
EncryptionMaterials kekMaterials,
ContentCryptoScheme contentCryptoScheme,
S3CryptoScheme targetS3CryptoScheme,
java.security.Provider provider,
AWSKMSClient kms,
AmazonWebServiceRequest req)
Returns a new instance of
ContentCryptoMaterial for the
given input parameters by using the specified content crypto scheme, and
S3 crypto scheme. |
protected javax.crypto.SecretKey |
S3CryptoModuleBase.generateCEK(EncryptionMaterials kekMaterials,
java.security.Provider providerIn) |
(package private) static java.util.Map<java.lang.String,java.lang.String> |
ContentCryptoMaterial.mergeMaterialDescriptions(EncryptionMaterials materials,
AmazonWebServiceRequest req) |
(package private) ContentCryptoMaterial |
ContentCryptoMaterial.recreate(EncryptionMaterials newKEK,
EncryptionMaterialsAccessor accessor,
S3CryptoScheme targetScheme,
java.security.Provider p,
AWSKMSClient kms,
AmazonWebServiceRequest req)
Recreates a new content crypto material from the current material given a
new KEK encryption materials.
|
private static SecuredCEK |
ContentCryptoMaterial.secureCEK(javax.crypto.SecretKey cek,
EncryptionMaterials materials,
S3KeyWrapScheme kwScheme,
java.security.SecureRandom srand,
java.security.Provider p,
AWSKMSClient kms,
AmazonWebServiceRequest req)
Secure the given CEK.
|
Modifier and Type | Class and Description |
---|---|
class |
KMSEncryptionMaterials
KMS specific encryption materials.
|
Modifier and Type | Field and Description |
---|---|
private EncryptionMaterials |
PutInstructionFileRequest.encryptionMaterials
Material to be used in the instruction file.
|
private EncryptionMaterials |
SimpleMaterialProvider.latest |
private EncryptionMaterials |
StaticEncryptionMaterialsProvider.materials |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.util.Map<java.lang.String,java.lang.String>,EncryptionMaterials> |
SimpleMaterialProvider.map |
Modifier and Type | Method and Description |
---|---|
EncryptionMaterials |
EncryptionMaterials.addDescription(java.lang.String name,
java.lang.String value)
Fluent API to add material description.
|
EncryptionMaterials |
EncryptionMaterials.addDescriptions(java.util.Map<java.lang.String,java.lang.String> descriptions)
Fluent API to add all the given material descriptions.
|
EncryptionMaterials |
StaticEncryptionMaterialsProvider.getEncryptionMaterials() |
EncryptionMaterials |
SimpleMaterialProvider.getEncryptionMaterials() |
EncryptionMaterials |
PutInstructionFileRequest.getEncryptionMaterials()
Returns the encryption materials if specified; or null if not.
|
EncryptionMaterials |
EncryptionMaterialsFactory.getEncryptionMaterials()
Returns EncryptionMaterials which the caller can use for encryption.
|
EncryptionMaterials |
StaticEncryptionMaterialsProvider.getEncryptionMaterials(java.util.Map<java.lang.String,java.lang.String> materialDescIn) |
EncryptionMaterials |
SimpleMaterialProvider.getEncryptionMaterials(java.util.Map<java.lang.String,java.lang.String> md) |
EncryptionMaterials |
EncryptionMaterialsAccessor.getEncryptionMaterials(java.util.Map<java.lang.String,java.lang.String> materialsDescription)
Retrieves encryption materials matching the specified description from some source.
|
Modifier and Type | Method and Description |
---|---|
SimpleMaterialProvider |
SimpleMaterialProvider.addMaterial(EncryptionMaterials m) |
SimpleMaterialProvider |
SimpleMaterialProvider.withLatest(EncryptionMaterials m) |
Constructor and Description |
---|
PutInstructionFileRequest(S3ObjectId s3ObjectId,
EncryptionMaterials encryptionMaterials,
java.lang.String suffix) |
StaticEncryptionMaterialsProvider(EncryptionMaterials materials) |