Uses of Class
com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
Package
Description
-
Uses of EncryptionContext in com.amazonaws.services.dynamodbv2.datamodeling.encryption
Modifier and TypeMethodDescriptionDynamoDBEncryptor.getEncryptionContextOverrideOperator()
DynamoDBEncryptor.getEncryptionContextOverrideOperator()
Modifier and TypeMethodDescriptionDynamoDBEncryptor.decryptAllFieldsExcept
(Map<String, com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes, EncryptionContext context, String... doNotDecrypt) Returns a decrypted version of the provided DynamoDb record.DynamoDBEncryptor.decryptAllFieldsExcept
(Map<String, com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes, EncryptionContext context, Collection<String> doNotDecrypt) DynamoDBEncryptor.decryptRecord
(Map<String, com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes, Map<String, Set<EncryptionFlags>> attributeFlags, EncryptionContext context) DynamoDBEncryptor.encryptAllFieldsExcept
(Map<String, com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes, EncryptionContext context, String... doNotEncrypt) Returns an encrypted version of the provided DynamoDb record.DynamoDBEncryptor.encryptAllFieldsExcept
(Map<String, com.amazonaws.services.dynamodbv2.model.AttributeValue> itemAttributes, EncryptionContext context, Collection<String> doNotEncrypt) 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 TypeMethodDescriptionfinal void
DynamoDBEncryptor.setEncryptionContextOverrideOperator
(Function<EncryptionContext, EncryptionContext> encryptionContextOverrideOperator) final void
DynamoDBEncryptor.setEncryptionContextOverrideOperator
(Function<EncryptionContext, EncryptionContext> encryptionContextOverrideOperator) -
Uses of EncryptionContext in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
Modifier and TypeMethodDescriptionprotected 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.CachingMostRecentProvider.getDecryptionMaterials
(EncryptionContext context) DirectKmsMaterialProvider.getDecryptionMaterials
(EncryptionContext context) EncryptionMaterialsProvider.getDecryptionMaterials
(EncryptionContext context) Retrieves encryption materials matching the specified description from some source.KeyStoreMaterialsProvider.getDecryptionMaterials
(EncryptionContext context) SymmetricStaticProvider.getDecryptionMaterials
(EncryptionContext context) Returns theencryptionKey
provided to the constructor if and only ifmaterialDescription
is a super-set (may be equal) to thedescription
provided to the constructor.WrappedMaterialsProvider.getDecryptionMaterials
(EncryptionContext context) CachingMostRecentProvider.getEncryptionMaterials
(EncryptionContext context) DirectKmsMaterialProvider.getEncryptionMaterials
(EncryptionContext context) EncryptionMaterialsProvider.getEncryptionMaterials
(EncryptionContext context) Returns EncryptionMaterials which the caller can use for encryption.KeyStoreMaterialsProvider.getEncryptionMaterials
(EncryptionContext context) SymmetricStaticProvider.getEncryptionMaterials
(EncryptionContext context) Returns theencryptionKey
provided to the constructor.WrappedMaterialsProvider.getEncryptionMaterials
(EncryptionContext context) protected String
CachingMostRecentProvider.getMaterialName
(EncryptionContext context) protected void
DirectKmsMaterialProvider.populateKmsEcFromEc
(EncryptionContext context, Map<String, String> kmsEc) Extracts relevant information fromcontext
and uses it to populate fields inkmsEc
.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. -
Uses of EncryptionContext in com.amazonaws.services.dynamodbv2.datamodeling.encryption.utils
Modifier and TypeMethodDescriptionstatic 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.