| Modifier and Type | Method and Description |
|---|---|
EncryptionContext |
EncryptionContext.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
Function<EncryptionContext,EncryptionContext> |
DynamoDBEncryptor.getEncryptionContextOverrideOperator() |
Function<EncryptionContext,EncryptionContext> |
DynamoDBEncryptor.getEncryptionContextOverrideOperator() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> |
DynamoDBEncryptor.decryptAllFieldsExcept(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes,
EncryptionContext context,
Collection<String> doNotDecrypt) |
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> |
DynamoDBEncryptor.decryptAllFieldsExcept(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes,
EncryptionContext context,
String... doNotDecrypt)
Returns a decrypted version of the provided DynamoDb record.
|
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> |
DynamoDBEncryptor.decryptRecord(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes,
Map<String,Set<EncryptionFlags>> attributeFlags,
EncryptionContext context) |
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> |
DynamoDBEncryptor.encryptAllFieldsExcept(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes,
EncryptionContext context,
Collection<String> doNotEncrypt) |
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> |
DynamoDBEncryptor.encryptAllFieldsExcept(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes,
EncryptionContext context,
String... doNotEncrypt)
Returns an encrypted version of the provided DynamoDb record.
|
Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> |
DynamoDBEncryptor.encryptRecord(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes,
Map<String,Set<EncryptionFlags>> attributeFlags,
EncryptionContext context)
Returns the encrypted (and signed) record, which is a map of item attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DynamoDBEncryptor.setEncryptionContextOverrideOperator(Function<EncryptionContext,EncryptionContext> encryptionContextOverrideOperator) |
void |
DynamoDBEncryptor.setEncryptionContextOverrideOperator(Function<EncryptionContext,EncryptionContext> encryptionContextOverrideOperator) |
| Constructor and Description |
|---|
Builder(EncryptionContext context)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.amazonaws.services.kms.model.DecryptResult |
DirectKmsMaterialProvider.decrypt(com.amazonaws.services.kms.model.DecryptRequest request,
EncryptionContext context)
Decrypts ciphertext.
|
protected com.amazonaws.services.kms.model.GenerateDataKeyResult |
DirectKmsMaterialProvider.generateDataKey(com.amazonaws.services.kms.model.GenerateDataKeyRequest request,
EncryptionContext context)
Returns a data encryption key that you can use in your application to encrypt data locally.
|
DecryptionMaterials |
EncryptionMaterialsProvider.getDecryptionMaterials(EncryptionContext context)
Retrieves encryption materials matching the specified description from some source.
|
DecryptionMaterials |
KeyStoreMaterialsProvider.getDecryptionMaterials(EncryptionContext context) |
DecryptionMaterials |
CachingMostRecentProvider.getDecryptionMaterials(EncryptionContext context) |
DecryptionMaterials |
DirectKmsMaterialProvider.getDecryptionMaterials(EncryptionContext context) |
DecryptionMaterials |
WrappedMaterialsProvider.getDecryptionMaterials(EncryptionContext context) |
DecryptionMaterials |
SymmetricStaticProvider.getDecryptionMaterials(EncryptionContext context)
Returns the
encryptionKey provided to the constructor if and only if
materialDescription is a super-set (may be equal) to the description
provided to the constructor. |
EncryptionMaterials |
EncryptionMaterialsProvider.getEncryptionMaterials(EncryptionContext context)
Returns EncryptionMaterials which the caller can use for encryption.
|
EncryptionMaterials |
KeyStoreMaterialsProvider.getEncryptionMaterials(EncryptionContext context) |
EncryptionMaterials |
CachingMostRecentProvider.getEncryptionMaterials(EncryptionContext context) |
EncryptionMaterials |
DirectKmsMaterialProvider.getEncryptionMaterials(EncryptionContext context) |
EncryptionMaterials |
WrappedMaterialsProvider.getEncryptionMaterials(EncryptionContext context) |
EncryptionMaterials |
SymmetricStaticProvider.getEncryptionMaterials(EncryptionContext context)
Returns the
encryptionKey provided to the constructor. |
protected String |
CachingMostRecentProvider.getMaterialName(EncryptionContext context) |
protected void |
DirectKmsMaterialProvider.populateKmsEcFromEc(EncryptionContext context,
Map<String,String> kmsEc)
Extracts relevant information from
context and uses it to populate fields in kmsEc. |
protected String |
DirectKmsMaterialProvider.selectEncryptionKeyId(EncryptionContext context)
Select encryption key id to be used to generate data key.
|
protected void |
DirectKmsMaterialProvider.validateEncryptionKeyId(String encryptionKeyId,
EncryptionContext context)
Validate the encryption key id.
|
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperator<EncryptionContext> |
EncryptionContextOperators.overrideEncryptionContextTableName(String originalTableName,
String newTableName)
An operator for overriding EncryptionContext's table name for a specific DynamoDBEncryptor.
|
static UnaryOperator<EncryptionContext> |
EncryptionContextOperators.overrideEncryptionContextTableNameUsingMap(Map<String,String> tableNameOverrideMap)
An operator for mapping multiple table names in the Encryption Context to a new table name.
|
Copyright © 2021. All rights reserved.