Package | Description |
---|---|
com.amazonaws.encryptionsdk |
Contains
AwsCrypto , the primary entry-point to the Aws
Encryption SDK. |
com.amazonaws.encryptionsdk.jce | |
com.amazonaws.encryptionsdk.kms |
Contains logic necessary to create
MasterKey s backed by AWS
KMS keys. |
com.amazonaws.encryptionsdk.kmssdkv2 |
Contains logic necessary to create
MasterKey s backed by AWS
KMS keys. |
Modifier and Type | Method and Description |
---|---|
abstract DataKey<K> |
MasterKeyProvider.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext)
Iterates through
encryptedDataKeys and returns the first one which can be successfully
decrypted. |
K |
MasterKeyProvider.getMasterKey(String keyId)
Equivalent to calling
MasterKeyProvider.getMasterKey(String, String) using MasterKeyProvider.getDefaultProviderId() as the provider. |
abstract K |
MasterKeyProvider.getMasterKey(String provider,
String keyId)
Returns the specified
MasterKey if possible. |
K |
MasterKey.getMasterKey(String provider,
String keyId)
Returns
this if provider and keyId match this . |
Modifier and Type | Method and 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 the
encryptedDataKeys by first iterating through all aliasNames specified in the constructor and then over all other compatible keys in
the KeyStore . |
JceMasterKey |
KeyStoreProvider.getMasterKey(String provider,
String keyId)
Returns a
JceMasterKey corresponding to the entry in the KeyStore with the
specified alias and compatible algorithm. |
Modifier and Type | Method and Description |
---|---|
DataKey<KmsMasterKey> |
KmsMasterKey.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
AwsKmsMrkAwareMasterKey |
AwsKmsMrkAwareMasterKeyProvider.getMasterKey(String providerId,
String requestedKeyArn)
Added flexibility in matching multi-Region keys from different regions.
|
KmsMasterKey |
KmsMasterKeyProvider.getMasterKey(String provider,
String keyId) |
Modifier and Type | Method and Description |
---|---|
DataKey<KmsMasterKey> |
KmsMasterKey.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
AwsKmsMrkAwareMasterKey |
AwsKmsMrkAwareMasterKeyProvider.getMasterKey(String providerId,
String requestedKeyArn)
Added flexibility in matching multi-Region keys from different regions.
|
KmsMasterKey |
KmsMasterKeyProvider.getMasterKey(String provider,
String keyId) |
Copyright © 2023. All rights reserved.