Uses of Class
com.amazonaws.encryptionsdk.exception.UnsupportedProviderException
Packages that use UnsupportedProviderException
Package
Description
Contains
AwsCrypto
, the primary entry-point to the Aws
Encryption SDK.Contains logic necessary to create
MasterKey
s backed by AWS
KMS keys.-
Uses of UnsupportedProviderException in com.amazonaws.encryptionsdk
Methods in com.amazonaws.encryptionsdk that throw UnsupportedProviderExceptionModifier and TypeMethodDescriptionMasterKeyProvider.decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
Iterates throughencryptedDataKeys
and returns the first one which can be successfully decrypted.MasterKey.getMasterKey(String provider, String keyId)
Returnsthis
ifprovider
andkeyId
matchthis
.MasterKeyProvider.getMasterKey(String keyId)
Equivalent to callingMasterKeyProvider.getMasterKey(String, String)
usingMasterKeyProvider.getDefaultProviderId()
as the provider.abstract K
MasterKeyProvider.getMasterKey(String provider, String keyId)
Returns the specifiedMasterKey
if possible. -
Uses of UnsupportedProviderException in com.amazonaws.encryptionsdk.jce
Methods in com.amazonaws.encryptionsdk.jce that throw UnsupportedProviderExceptionModifier and TypeMethodDescriptionJceMasterKey.decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
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
.KeyStoreProvider.getMasterKey(String provider, String keyId)
Returns aJceMasterKey
corresponding to the entry in theKeyStore
with the specified alias and compatible algorithm. -
Uses of UnsupportedProviderException in com.amazonaws.encryptionsdk.kms
Methods in com.amazonaws.encryptionsdk.kms that throw UnsupportedProviderExceptionModifier and TypeMethodDescriptionKmsMasterKey.decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
AwsKmsMrkAwareMasterKeyProvider.getMasterKey(String providerId, String requestedKeyArn)
Added flexibility in matching multi-Region keys from different regions.KmsMasterKeyProvider.getMasterKey(String provider, String keyId)