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.model |
Contains the classes that implement the defined message format for storing the encrypted content
and the data key.
|
Modifier and Type | Method and Description |
---|---|
static CryptoAlgorithm |
CryptoAlgorithm.deserialize(short value)
Returns the CryptoAlgorithm object that matches the given value.
|
CryptoAlgorithm |
CryptoResult.getCryptoAlgorithm()
Convenience method equivalent to
CryptoResult.getHeaders() .getCryptoAlgoId() . |
static CryptoAlgorithm |
AwsCrypto.getDefaultCryptoAlgorithm()
Returns the
CryptoAlgorithm to be used for encryption when none is explicitly
selected. |
CryptoAlgorithm |
AwsCrypto.getEncryptionAlgorithm() |
static CryptoAlgorithm |
CryptoAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoAlgorithm[] |
CryptoAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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. |
abstract DataKey<K> |
MasterKey.encryptDataKey(CryptoAlgorithm algorithm,
Map<String,String> encryptionContext,
DataKey<?> dataKey)
Returns a new copy of the provided
dataKey which is protected by this
MasterKey for use with algorithm and associated with the provided
encryptionContext . |
abstract DataKey<K> |
MasterKey.generateDataKey(CryptoAlgorithm algorithm,
Map<String,String> encryptionContext)
|
void |
AwsCrypto.setEncryptionAlgorithm(CryptoAlgorithm alg)
Sets the
CryptoAlgorithm to use when encrypting data. |
Modifier and Type | Method and Description |
---|---|
static TrailingSignatureAlgorithm |
TrailingSignatureAlgorithm.forCryptoAlgorithm(CryptoAlgorithm algorithm) |
Modifier and Type | Method and 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 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) |
Modifier and Type | Method and Description |
---|---|
DataKey<KmsMasterKey> |
KmsMasterKeyProvider.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<KmsMasterKey> |
KmsMasterKey.encryptDataKey(CryptoAlgorithm algorithm,
Map<String,String> encryptionContext,
DataKey<?> dataKey) |
DataKey<KmsMasterKey> |
KmsMasterKey.generateDataKey(CryptoAlgorithm algorithm,
Map<String,String> encryptionContext) |
Modifier and Type | Method and Description |
---|---|
CryptoAlgorithm |
DecryptionMaterialsRequest.getAlgorithm() |
CryptoAlgorithm |
DecryptionMaterialsRequest.Builder.getAlgorithm() |
CryptoAlgorithm |
EncryptionMaterials.getAlgorithm()
The algorithm to use for this encryption operation.
|
CryptoAlgorithm |
EncryptionMaterials.Builder.getAlgorithm() |
CryptoAlgorithm |
CiphertextHeaders.getCryptoAlgoId()
Return the crypto algorithm identifier set in the header.
|
CryptoAlgorithm |
EncryptionMaterialsRequest.getRequestedAlgorithm() |
CryptoAlgorithm |
EncryptionMaterialsRequest.Builder.getRequestedAlgorithm() |
Modifier and Type | Method and Description |
---|---|
DecryptionMaterialsRequest.Builder |
DecryptionMaterialsRequest.Builder.setAlgorithm(CryptoAlgorithm algorithm) |
EncryptionMaterials.Builder |
EncryptionMaterials.Builder.setAlgorithm(CryptoAlgorithm algorithm) |
EncryptionMaterialsRequest.Builder |
EncryptionMaterialsRequest.Builder.setRequestedAlgorithm(CryptoAlgorithm requestedAlgorithm) |
Constructor and Description |
---|
CiphertextHeaders(byte version,
CiphertextType type,
CryptoAlgorithm cryptoAlgo,
byte[] encryptionContext,
List<KeyBlob> keyBlobs,
ContentType contentType,
int frameSize)
Construct the ciphertext headers using the provided values.
|
Copyright © 2018. All rights reserved.