Uses of Class
com.amazonaws.encryptionsdk.DataKey
-
Packages that use DataKey Package Description com.amazonaws.encryptionsdk ContainsAwsCrypto
, the primary entry-point to the Aws Encryption SDK.com.amazonaws.encryptionsdk.jce com.amazonaws.encryptionsdk.kms Contains logic necessary to createMasterKey
s backed by AWS KMS keys.com.amazonaws.encryptionsdk.kmssdkv2 Contains logic necessary to createMasterKey
s backed by AWS KMS keys.com.amazonaws.encryptionsdk.model Contains the classes that implement the defined message format for storing the encrypted content and the data key. -
-
Uses of DataKey in com.amazonaws.encryptionsdk
Methods in com.amazonaws.encryptionsdk that return DataKey Modifier and Type Method Description abstract DataKey<K>
MasterKeyProvider. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
Iterates throughencryptedDataKeys
and returns the first one which can be successfully decrypted.abstract DataKey<K>
MasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
Returns a new copy of the provideddataKey
which is protected by thisMasterKey
for use withalgorithm
and associated with the providedencryptionContext
.abstract DataKey<K>
MasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
Methods in com.amazonaws.encryptionsdk with parameters of type DataKey Modifier and Type Method Description abstract DataKey<K>
MasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
Returns a new copy of the provideddataKey
which is protected by thisMasterKey
for use withalgorithm
and associated with the providedencryptionContext
. -
Uses of DataKey in com.amazonaws.encryptionsdk.jce
Methods in com.amazonaws.encryptionsdk.jce that return DataKey Modifier and Type Method Description DataKey<JceMasterKey>
JceMasterKey. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<JceMasterKey>
KeyStoreProvider. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
Attempts to decrypts theencryptedDataKeys
by first iterating through allaliasNames
specified in the constructor and then over all other compatible keys in theKeyStore
.DataKey<JceMasterKey>
JceMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
DataKey<JceMasterKey>
JceMasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
Methods in com.amazonaws.encryptionsdk.jce with parameters of type DataKey Modifier and Type Method Description DataKey<JceMasterKey>
JceMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
-
Uses of DataKey in com.amazonaws.encryptionsdk.kms
Methods in com.amazonaws.encryptionsdk.kms that return DataKey Modifier and Type Method Description DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
Will attempt to decrypt if awsKmsArnMatchForDecrypt returns true inAwsKmsMrkAwareMasterKey#filterEncryptedDataKeys(String, AwsKmsCmkArnInfo, EncryptedDataKey)
.DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKeyProvider. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<KmsMasterKey>
KmsMasterKey. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<KmsMasterKey>
KmsMasterKeyProvider. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
DataKey<KmsMasterKey>
KmsMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
This is identical behavior toDataKey<KmsMasterKey>
KmsMasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
Methods in com.amazonaws.encryptionsdk.kms with parameters of type DataKey Modifier and Type Method Description DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
DataKey<KmsMasterKey>
KmsMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
-
Uses of DataKey in com.amazonaws.encryptionsdk.kmssdkv2
Methods in com.amazonaws.encryptionsdk.kmssdkv2 that return DataKey Modifier and Type Method Description DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
Will attempt to decrypt if awsKmsArnMatchForDecrypt returns true inAwsKmsMrkAwareMasterKey.filterEncryptedDataKeys(String, String, EncryptedDataKey)
.DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKeyProvider. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<KmsMasterKey>
KmsMasterKey. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<KmsMasterKey>
KmsMasterKeyProvider. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
DataKey<KmsMasterKey>
KmsMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
This is identical behavior toDataKey<KmsMasterKey>
KmsMasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
Methods in com.amazonaws.encryptionsdk.kmssdkv2 with parameters of type DataKey Modifier and Type Method Description DataKey<AwsKmsMrkAwareMasterKey>
AwsKmsMrkAwareMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
DataKey<KmsMasterKey>
KmsMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
-
Uses of DataKey in com.amazonaws.encryptionsdk.model
Methods in com.amazonaws.encryptionsdk.model that return DataKey Modifier and Type Method Description DataKey<?>
DecryptionMaterials.Builder. getDataKey()
DataKey<?>
DecryptionMaterials. getDataKey()
DataKey<?>
DecryptionMaterialsHandler. getDataKey()
Methods in com.amazonaws.encryptionsdk.model with parameters of type DataKey Modifier and Type Method Description DecryptionMaterials.Builder
DecryptionMaterials.Builder. setDataKey(DataKey<?> dataKey)
-