Package | Description |
---|---|
com.amazonaws.encryptionsdk |
Contains
AwsCrypto , the primary entry-point to the Aws
Encryption SDK. |
com.amazonaws.encryptionsdk.internal |
Contains the internal classes that handle the cryptographic defined by the message formats and
algorithms.
|
com.amazonaws.encryptionsdk.jce | |
com.amazonaws.encryptionsdk.kms |
Contains logic necessary to create
MasterKey s backed by AWS
KMS keys. |
com.amazonaws.encryptionsdk.kmssdkv2 |
Contains logic necessary to create
MasterKey s backed by AWS
KMS keys. |
com.amazonaws.encryptionsdk.model |
Contains the classes that implement the defined message format for storing the encrypted content
and the data key.
|
Modifier and Type | Class and Description |
---|---|
class |
DataKey<M extends MasterKey<M>>
Represents both the cleartext and encrypted bytes of a data key.
|
Modifier and Type | Method and Description |
---|---|
abstract DataKey<K> |
MasterKeyProvider.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext)
Iterates through
encryptedDataKeys and returns the first one which can be successfully
decrypted. |
Modifier and Type | Method and Description |
---|---|
EncryptedDataKey |
JceKeyCipher.encryptKey(byte[] key,
String keyName,
String keyNamespace,
Map<String,String> encryptionContext)
Encrypts the given key, incorporating the given keyName and encryptionContext.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
JceKeyCipher.decryptKey(EncryptedDataKey edk,
String keyName,
Map<String,String> encryptionContext)
Decrypts the given encrypted data key.
|
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 . |
Modifier and Type | Method and Description |
---|---|
DataKey<AwsKmsMrkAwareMasterKey> |
AwsKmsMrkAwareMasterKeyProvider.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
DataKey<KmsMasterKey> |
KmsMasterKey.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
DataKey<AwsKmsMrkAwareMasterKey> |
AwsKmsMrkAwareMasterKey.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext)
Will attempt to decrypt if awsKmsArnMatchForDecrypt returns true in
AwsKmsMrkAwareMasterKey#filterEncryptedDataKeys(String, AwsKmsCmkArnInfo, EncryptedDataKey) . |
DataKey<KmsMasterKey> |
KmsMasterKeyProvider.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
Modifier and Type | Method and Description |
---|---|
DataKey<AwsKmsMrkAwareMasterKey> |
AwsKmsMrkAwareMasterKeyProvider.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
DataKey<KmsMasterKey> |
KmsMasterKey.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
DataKey<AwsKmsMrkAwareMasterKey> |
AwsKmsMrkAwareMasterKey.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext)
Will attempt to decrypt if awsKmsArnMatchForDecrypt returns true in
AwsKmsMrkAwareMasterKey.filterEncryptedDataKeys(String, String, EncryptedDataKey) . |
DataKey<KmsMasterKey> |
KmsMasterKeyProvider.decryptDataKey(CryptoAlgorithm algorithm,
Collection<? extends EncryptedDataKey> encryptedDataKeys,
Map<String,String> encryptionContext) |
Modifier and Type | Class and Description |
---|---|
class |
KeyBlob
This class implements the format of the key blob.
|
Constructor and Description |
---|
KeyBlob(EncryptedDataKey edk) |
Copyright © 2023. All rights reserved.