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
MasterKeys 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 throughencryptedDataKeysand returns the first one which can be successfully decrypted.MasterKey.getMasterKey(String provider, String keyId)ReturnsthisifproviderandkeyIdmatchthis.MasterKeyProvider.getMasterKey(String keyId)Equivalent to callingMasterKeyProvider.getMasterKey(String, String)usingMasterKeyProvider.getDefaultProviderId()as the provider.abstract KMasterKeyProvider.getMasterKey(String provider, String keyId)Returns the specifiedMasterKeyif 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 theencryptedDataKeysby first iterating through allaliasNamesspecified in the constructor and then over all other compatible keys in theKeyStore.KeyStoreProvider.getMasterKey(String provider, String keyId)Returns aJceMasterKeycorresponding to the entry in theKeyStorewith 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)