A B C D E G H I K M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractRawMaterials - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
- AbstractRawMaterials(KeyPair) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- AbstractRawMaterials(KeyPair, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- AbstractRawMaterials(SecretKey) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- AbstractRawMaterials(SecretKey, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- allDecryptionFlagsExcept(Map<String, AttributeValue>, String...) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Returns the decryption flags for all item attributes except for those explicitly specified to be excluded.
- allDecryptionFlagsExcept(Map<String, AttributeValue>, Collection<String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Returns the decryption flags for all item attributes except for those explicitly specified to be excluded.
- allEncryptionFlagsExcept(Map<String, AttributeValue>, String...) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Returns the encryption flags for all item attributes except for those explicitly specified to be excluded.
- allEncryptionFlagsExcept(Map<String, AttributeValue>, Collection<String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Returns the encryption flags for all item attributes except for those explicitly specified to be excluded.
- AsymmetricRawMaterials - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
- AsymmetricRawMaterials(KeyPair, KeyPair) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AsymmetricRawMaterials
- AsymmetricRawMaterials(KeyPair, KeyPair, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AsymmetricRawMaterials
- AsymmetricRawMaterials(KeyPair, SecretKey) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AsymmetricRawMaterials
- AsymmetricRawMaterials(KeyPair, SecretKey, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AsymmetricRawMaterials
- AsymmetricStaticProvider - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
-
This is a thin wrapper around the
WrappedMaterialsProvider
, using the providedencryptionKey
for wrapping and unwrapping the record key. - AsymmetricStaticProvider(KeyPair, KeyPair) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.AsymmetricStaticProvider
- AsymmetricStaticProvider(KeyPair, KeyPair, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.AsymmetricStaticProvider
- AsymmetricStaticProvider(KeyPair, SecretKey) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.AsymmetricStaticProvider
- AsymmetricStaticProvider(KeyPair, SecretKey, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.AsymmetricStaticProvider
- AttributeEncryptor - Class in com.amazonaws.services.dynamodbv2.datamodeling
-
Encrypts all non-key fields prior to storing them in DynamoDB.
- AttributeEncryptor(DynamoDBEncryptor) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.AttributeEncryptor
- AttributeEncryptor(EncryptionMaterialsProvider) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.AttributeEncryptor
B
- build() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- Builder() - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
-
Defaults all fields to
null
. - Builder(EncryptionContext) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
-
Copy constructor.
C
- CachingMostRecentProvider - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
-
This meta-Provider encrypts data with the most recent version of keying materials from a
ProviderStore
and decrypts using whichever version is appropriate. - CachingMostRecentProvider(ProviderStore, String, long) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
-
Creates a new
CachingMostRecentProvider
. - CachingMostRecentProvider(ProviderStore, String, long, int) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
-
Creates a new
CachingMostRecentProvider
. - com.amazonaws.services.dynamodbv2.datamodeling - package com.amazonaws.services.dynamodbv2.datamodeling
- com.amazonaws.services.dynamodbv2.datamodeling.encryption - package com.amazonaws.services.dynamodbv2.datamodeling.encryption
- com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials - package com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
- com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers - package com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
- com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store - package com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store
- com.amazonaws.services.dynamodbv2.datamodeling.encryption.utils - package com.amazonaws.services.dynamodbv2.datamodeling.encryption.utils
- CONTENT_KEY_ALGORITHM - Static variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
-
The key-name in the Description which contains the algorithm used by the content key.
- createTable(AmazonDynamoDB, String, ProvisionedThroughput) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
-
Creates a DynamoDB Table with the correct properties to be used with a ProviderStore.
- CryptographicMaterials - Interface in com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
D
- decrypt(byte[], byte[], String) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.DelegatedKey
-
Decrypts the provided ciphertext and returns a byte-array containing the plaintext.
- decrypt(DecryptRequest, EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
-
Decrypts ciphertext.
- decryptAllFieldsExcept(Map<String, AttributeValue>, EncryptionContext, String...) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Returns a decrypted version of the provided DynamoDb record.
- decryptAllFieldsExcept(Map<String, AttributeValue>, EncryptionContext, Collection<String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- DecryptionMaterials - Interface in com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
- decryptRecord(Map<String, AttributeValue>, Map<String, Set<EncryptionFlags>>, EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- DEFAULT_SIGNING_ALGORITHM_HEADER - Static variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- defaultMaterialName - Variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
- defaultMaterialName - Variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.
- DelegatedKey - Interface in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
Identifies keys which should not be used directly with
Cipher
but instead contain their own cryptographic logic. - DirectKmsMaterialProvider - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
-
Generates a unique data key for each record in DynamoDB and protects that key using
AWSKMS
. - DirectKmsMaterialProvider(AWSKMS) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
- DirectKmsMaterialProvider(AWSKMS, String) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
- DirectKmsMaterialProvider(AWSKMS, String, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
- DoNotEncrypt - Annotation Type in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
Prevents the associated item (class or attribute) from being encrypted.
- DoNotTouch - Annotation Type in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
Prevents the associated item from being encrypted or signed.
- DynamoDBEncryptor - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
The low-level API used by
AttributeEncryptor
to perform crypto operations on the record attributes. - DynamoDBEncryptor(EncryptionMaterialsProvider, String) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
E
- encrypt(byte[], byte[], String) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.DelegatedKey
-
Encrypts the provided plaintext and returns a byte-array containing the ciphertext.
- ENCRYPT - com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionFlags
- encryptAllFieldsExcept(Map<String, AttributeValue>, EncryptionContext, String...) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Returns an encrypted version of the provided DynamoDb record.
- encryptAllFieldsExcept(Map<String, AttributeValue>, EncryptionContext, Collection<String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- EncryptionContext - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
This class serves to provide additional useful data to
EncryptionMaterialsProvider
s so they can more intelligently select the properEncryptionMaterials
orDecryptionMaterials
for use. - EncryptionContext.Builder - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
Builder class for
EncryptionContext
. - EncryptionContextOperators - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.utils
-
Implementations of common operators for overriding the EncryptionContext
- EncryptionFlags - Enum in com.amazonaws.services.dynamodbv2.datamodeling.encryption
- EncryptionMaterials - Interface in com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
- EncryptionMaterialsProvider - Interface in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
-
Interface for providing encryption materials.
- encryptRecord(Map<String, AttributeValue>, Map<String, Set<EncryptionFlags>>, EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Returns the encrypted (and signed) record, which is a map of item attributes.
- ENVELOPE_KEY - Static variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
-
The key-name in the Description which which contains the wrapped content key.
G
- generateContentKey(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- generateDataKey(GenerateDataKeyRequest, EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
-
Returns a data encryption key that you can use in your application to encrypt data locally.
- getAttributes(String, long) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore.ExtraDataSupplier
-
Gets the extra data attributes for the specified material name.
- getAttributeValues() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- getAttributeValues() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
-
Returns the DynamoDB record about to be encrypted/decrypted.
- getBlockSize(String) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- getCurrentVersion() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
-
The current version of the materials being used for encryption.
- getCurrentVersion() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.The current version of the materials being used for encryption.
- getDecryptionKey() - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.DecryptionMaterials
- getDecryptionKey() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.SymmetricRawMaterials
- getDecryptionKey() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- getDecryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
- getDecryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
- getDecryptionMaterials(EncryptionContext) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.EncryptionMaterialsProvider
-
Retrieves encryption materials matching the specified description from some source.
- getDecryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.KeyStoreMaterialsProvider
- getDecryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.
- getDecryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider
-
Returns the
encryptionKey
provided to the constructor if and only ifmaterialDescription
is a super-set (may be equal) to thedescription
provided to the constructor. - getDecryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.WrappedMaterialsProvider
- getDeveloperContext() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- getDeveloperContext() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
-
This object has no meaning (and will not be set or examined) by any core libraries.
- getEncryptionContextOverrideOperator() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- getEncryptionKey() - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.EncryptionMaterials
- getEncryptionKey() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.SymmetricRawMaterials
- getEncryptionKey() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- getEncryptionKeyId() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
-
Get encryption key id that is used to create the
EncryptionMaterials
. - getEncryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
- getEncryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
- getEncryptionMaterials(EncryptionContext) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.EncryptionMaterialsProvider
-
Returns EncryptionMaterials which the caller can use for encryption.
- getEncryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.KeyStoreMaterialsProvider
- getEncryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.
- getEncryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider
-
Returns the
encryptionKey
provided to the constructor. - getEncryptionMaterials(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.WrappedMaterialsProvider
- getEncryptor() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.AttributeEncryptor
- getHashKeyName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- getHashKeyName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
-
Returns the name of the HashKey attribute for the record to be encrypted/decrypted.
- getInstance(EncryptionMaterialsProvider) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- getInstance(EncryptionMaterialsProvider, String) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- getLastUpdated() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
-
The last time the current version was updated.
- getLastUpdated() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.The last time the current version was updated.
- getMaterialDescription() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- getMaterialDescription() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
- getMaterialDescription() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- getMaterialDescription() - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.CryptographicMaterials
- getMaterialDescriptionFieldName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Get the name of the DynamoDB field used to store metadata used by the DynamoDBEncryptedMapper.
- getMaterialName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
- getMaterialName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.
- getMaterialName(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
- getMaterialName(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.
- getMaxVersion(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
- getMaxVersion(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore
-
Returns the maximum version number associated with
materialName
. - getModeledClass() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- getModeledClass() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
-
When used for an object mapping layer (such as
DynamoDBMapper
) this represents the class being mapped to/from DynamoDB. - getOrCreate(String, long) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
- getOrCreate(String, long) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore
-
Returns the provider with the specified name and version and creates it if it doesn't exist.
- getProvider(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore
-
Returns the most recent provider with the specified name.
- getProvider(String, long) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
- getProvider(String, long) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore
-
Returns the provider with the specified name and version.
- getRangeKeyName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- getRangeKeyName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
-
Returns the name of the RangeKey attribute for the record to be encrypted/decrypted.
- getSignatureFieldName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Get the name of the DynamoDB field used to store the signature.
- getSignedOnlyFieldNames() - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore.ExtraDataSupplier
-
Gets the extra data field names that should be signed only but not encrypted.
- getSigningAlgorithmHeader() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- getSigningKey() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- getSigningKey() - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.EncryptionMaterials
- getTableName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- getTableName() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
-
Returns the name of the DynamoDB Table this record is associated with.
- getTtlInMills() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
- getTtlInMills() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.
- getVerificationKey() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- getVerificationKey() - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.DecryptionMaterials
- getVersionFromMaterialDescription(Map<String, String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
- getVersionFromMaterialDescription(Map<String, String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore
-
Extracts the material version from
description
.
H
- HandleUnknownAttributes - Annotation Type in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
Marker annotation that indicates that attributes found during unmarshalling that are in the DynamoDB item but not modeled in the mapper model class should be included in for decryption/signature verification.
I
- initEnvelopeKey() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
-
Called by the constructors.
K
- KEY_WRAPPING_ALGORITHM - Static variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
-
The key-name in the Description which contains the algorithm use to wrap content key.
- KeyStoreMaterialsProvider - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
- KeyStoreMaterialsProvider(KeyStore, String, String, KeyStore.ProtectionParameter, KeyStore.ProtectionParameter, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.KeyStoreMaterialsProvider
- KeyStoreMaterialsProvider(KeyStore, String, String, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.KeyStoreMaterialsProvider
M
- marshallDescription(Map<String, String>) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Marshalls the
description
into a ByteBuffer by outputting each key (modified UTF-8) followed by its value (also in modified UTF-8). - MetaStore - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store
-
Provides a simple collection of EncryptionMaterialProviders backed by an encrypted DynamoDB table.
- MetaStore(AmazonDynamoDB, String, DynamoDBEncryptor) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
-
Create a new MetaStore with specified table name.
- MetaStore(AmazonDynamoDB, String, DynamoDBEncryptor, MetaStore.ExtraDataSupplier) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
-
Create a new MetaStore with specified table name and extra data supplier.
- MetaStore.ExtraDataSupplier - Interface in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store
-
Provides extra data that should be persisted along with the standard material data.
- MostRecentProvider - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
-
Deprecated.This provider uses a TTL value to determine when to ping the keystore to get the current materials version, instead of using the TTL value to determine when to expire cached materials. This is unintuitive behavior for users of this provider who may wish to use a TTL to force the keystore to re-obtain materials. Use the CachingMostRecentProvider, which uses a user defined TTL value to also expire the cached materials themselves, forcing the keystore to regularly re-obtain materials.
- MostRecentProvider(ProviderStore, String, long) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.Creates a new
MostRecentProvider
.
N
- newProvider(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore
-
Creates a new provider with a version one greater than the current max version.
O
- overrideEncryptionContextTableName(String, String) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.utils.EncryptionContextOperators
-
An operator for overriding EncryptionContext's table name for a specific DynamoDBEncryptor.
- overrideEncryptionContextTableNameUsingMap(Map<String, String>) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.utils.EncryptionContextOperators
-
An operator for mapping multiple table names in the Encryption Context to a new table name.
P
- populateKmsEcFromEc(EncryptionContext, Map<String, String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
-
Extracts relevant information from
context
and uses it to populate fields inkmsEc
. - ProviderStore - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store
-
Provides a standard way to retrieve and optionally create
EncryptionMaterialsProvider
s backed by some form of persistent storage. - ProviderStore() - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore
R
- refresh() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.CachingMostRecentProvider
-
Completely empties the cache of both the current and old versions.
- refresh() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
- refresh() - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.EncryptionMaterialsProvider
-
Forces this encryption materials provider to refresh its encryption material.
- refresh() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.KeyStoreMaterialsProvider
-
Reloads the keys from the underlying keystore by calling
KeyStore.getEntry(String, ProtectionParameter)
again for each of them. - refresh() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.MostRecentProvider
-
Deprecated.Completely empties the cache of both the current and old versions.
- refresh() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider
-
Does nothing.
- refresh() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.WrappedMaterialsProvider
- replicate(String, long, MetaStore) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore
-
This API retrieves the intermediate keys from the source region and replicates it in the target region.
S
- selectEncryptionKeyId(EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
-
Select encryption key id to be used to generate data key.
- setEncryptionContextOverrideOperator(Function<EncryptionContext, EncryptionContext>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- setMaterialDescription(Map<String, String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.AbstractRawMaterials
- setMaterialDescriptionFieldName(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Set the name of the DynamoDB field used to store metadata used by the DynamoDBEncryptedMapper
- setSignatureFieldName(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
-
Set the name of the DynamoDB field used to store the signature.
- sign(byte[], String) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.DelegatedKey
-
Calculates and returns a signature for
dataToSign
. - SIGN - com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionFlags
- SymmetricRawMaterials - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
- SymmetricRawMaterials(SecretKey, KeyPair) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.SymmetricRawMaterials
- SymmetricRawMaterials(SecretKey, KeyPair, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.SymmetricRawMaterials
- SymmetricRawMaterials(SecretKey, SecretKey) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.SymmetricRawMaterials
- SymmetricRawMaterials(SecretKey, SecretKey, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.SymmetricRawMaterials
- SymmetricStaticProvider - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
-
A provider which always returns the same provided symmetric encryption/decryption key and the same signing/verification key(s).
- SymmetricStaticProvider(SecretKey, KeyPair) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider
- SymmetricStaticProvider(SecretKey, KeyPair, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider
- SymmetricStaticProvider(SecretKey, SecretKey) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider
- SymmetricStaticProvider(SecretKey, SecretKey, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider
T
- TableAadOverride - Annotation Type in com.amazonaws.services.dynamodbv2.datamodeling.encryption
-
Overrides the default tablename used as part of the data signature with
tableName
instead. - tableName() - Method in annotation type com.amazonaws.services.dynamodbv2.datamodeling.encryption.TableAadOverride
- toString() - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext
- transform(AttributeTransformer.Parameters<?>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.AttributeEncryptor
U
- unmarshallDescription(AttributeValue) - Static method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor
- untransform(AttributeTransformer.Parameters<?>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.AttributeEncryptor
- unwrap(byte[], String, int, byte[], String) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.DelegatedKey
-
Unwraps (decrypts) the provided
wrappedKey
to recover the original key. - unwrapKey(Map<String, String>, byte[], String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- unwrappingKey - Variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
V
- validateEncryptionKeyId(String, EncryptionContext) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.DirectKmsMaterialProvider
-
Validate the encryption key id.
- valueOf(String) - Static method in enum com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionFlags
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionFlags
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(byte[], byte[], String) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.DelegatedKey
-
Checks the provided signature for correctness.
W
- withAttributeValues(Map<String, AttributeValue>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- withDeveloperContext(Object) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- withHashKeyName(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- withMaterialDescription(Map<String, String>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- withModeledClass(Class<?>) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- withRangeKeyName(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- withTableName(String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext.Builder
- wrap(Key, byte[], String) - Method in interface com.amazonaws.services.dynamodbv2.datamodeling.encryption.DelegatedKey
-
Wraps (encrypts) the provided
key
to make it safe for storage or transmission. - wrapKey(SecretKey, String) - Method in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- WrappedMaterialsProvider - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers
-
This provider will use create a unique (random) symmetric key upon each call to
WrappedMaterialsProvider.getEncryptionMaterials(EncryptionContext)
. - WrappedMaterialsProvider(Key, Key, KeyPair) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.WrappedMaterialsProvider
- WrappedMaterialsProvider(Key, Key, KeyPair, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.WrappedMaterialsProvider
- WrappedMaterialsProvider(Key, Key, SecretKey) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.WrappedMaterialsProvider
- WrappedMaterialsProvider(Key, Key, SecretKey, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.WrappedMaterialsProvider
- WrappedRawMaterials - Class in com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials
-
Represents cryptographic materials used to manage unique record-level keys.
- WrappedRawMaterials(Key, Key, KeyPair) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- WrappedRawMaterials(Key, Key, KeyPair, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- WrappedRawMaterials(Key, Key, SecretKey) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- WrappedRawMaterials(Key, Key, SecretKey, Map<String, String>) - Constructor for class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
- wrappingKey - Variable in class com.amazonaws.services.dynamodbv2.datamodeling.encryption.materials.WrappedRawMaterials
All Classes All Packages