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 JceMasterKey
JceMasterKey. getInstance(PublicKey wrappingKey, PrivateKey unwrappingKey, String provider, String keyId, String wrappingAlgorithm)
Returns aJceMasterKey
backed byunwrappingKey
andwrappingKey
usingwrappingAlgorithm
.static JceMasterKey
JceMasterKey. getInstance(SecretKey key, String provider, String keyId, String wrappingAlgorithm)
Returns aJceMasterKey
backed bykey
usingwrappingAlgorithm
.JceMasterKey
KeyStoreProvider. getMasterKey(String provider, String keyId)
Returns aJceMasterKey
corresponding to the entry in theKeyStore
with 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 protected DataKey<JceMasterKey>
JceMasterKey. actualDecrypt(CryptoAlgorithm algorithm, EncryptedDataKey edk, Map<String,String> encryptionContext)
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 theencryptedDataKeys
by first iterating through allaliasNames
specified in the constructor and then over all other compatible keys in theKeyStore
.DataKey<JceMasterKey>
JceMasterKey. encryptDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext, DataKey<?> dataKey)
protected DataKey<JceMasterKey>
JceMasterKey. encryptRawKey(SecretKey key, byte[] rawKey, Map<String,String> encryptionContext)
DataKey<JceMasterKey>
JceMasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
List<JceMasterKey>
KeyStoreProvider. getMasterKeysForEncryption(MasterKeyRequest request)
ReturnsJceMasterKey
s corresponding to thealiasNames
passed into the constructor.
-