Uses of Class
com.amazonaws.encryptionsdk.jce.JceMasterKey
-
Packages that use JceMasterKey Package Description com.amazonaws.encryptionsdk.jce -
-
Uses of JceMasterKey in com.amazonaws.encryptionsdk.jce
Methods in com.amazonaws.encryptionsdk.jce that return JceMasterKey Modifier and Type Method Description static 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.JceMasterKeyKeyStoreProvider. 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 JceMasterKey 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 theencryptedDataKeysby first iterating through allaliasNamesspecified 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)List<JceMasterKey>KeyStoreProvider. getMasterKeysForEncryption(MasterKeyRequest request)ReturnsJceMasterKeys corresponding to thealiasNamespassed into the constructor.
-