Uses of Class
com.amazonaws.encryptionsdk.jce.JceMasterKey
Packages that use JceMasterKey
Package
Description
-
Uses of JceMasterKey in com.amazonaws.encryptionsdk.jce
Methods in com.amazonaws.encryptionsdk.jce that return JceMasterKeyModifier and TypeMethodDescriptionstatic JceMasterKeyJceMasterKey.getInstance(PublicKey wrappingKey, PrivateKey unwrappingKey, String provider, String keyId, String wrappingAlgorithm)Returns aJceMasterKeybacked byunwrappingKeyandwrappingKeyusingwrappingAlgorithm.static JceMasterKeyJceMasterKey.getInstance(SecretKey key, String provider, String keyId, String wrappingAlgorithm)Returns aJceMasterKeybacked bykeyusingwrappingAlgorithm.KeyStoreProvider.getMasterKey(String provider, String keyId)Returns aJceMasterKeycorresponding to the entry in theKeyStorewith the specified alias and compatible algorithm.Methods in com.amazonaws.encryptionsdk.jce that return types with arguments of type JceMasterKeyModifier 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.JceMasterKey.encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)JceMasterKey.generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)KeyStoreProvider.getMasterKeysForEncryption(MasterKeyRequest request)ReturnsJceMasterKeys corresponding to thealiasNamespassed into the constructor.