| Package | Description |
|---|---|
| com.amazonaws.encryptionsdk.jce |
| Modifier and Type | Method and Description |
|---|---|
static JceMasterKey |
JceMasterKey.getInstance(PublicKey wrappingKey,
PrivateKey unwrappingKey,
String provider,
String keyId,
String wrappingAlgorithm)
Returns a
JceMasterKey backed by the asymmetric key pair unwrappingKey and
wrappingKey using wrappingAlgorithm. |
static JceMasterKey |
JceMasterKey.getInstance(SecretKey key,
String provider,
String keyId,
String wrappingAlgorithm)
Returns a
JceMasterKey backed by the symmetric key key using wrappingAlgorithm. |
JceMasterKey |
KeyStoreProvider.getMasterKey(String provider,
String keyId)
Returns a
JceMasterKey corresponding to the entry in the KeyStore with the
specified alias and compatible algorithm. |
| Modifier and Type | Method and 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 the
encryptedDataKeys by first iterating through all aliasNames specified in the constructor and then over all other compatible keys in
the KeyStore. |
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)
Returns
JceMasterKeys corresponding to the aliasNames passed into the
constructor. |
Copyright © 2023. All rights reserved.