Uses of Class
com.amazonaws.encryptionsdk.CryptoAlgorithm
-
Packages that use CryptoAlgorithm Package Description com.amazonaws.encryptionsdk ContainsAwsCrypto
, 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 createMasterKey
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. -
-
Uses of CryptoAlgorithm in com.amazonaws.encryptionsdk
Methods in com.amazonaws.encryptionsdk that return CryptoAlgorithm Modifier and Type Method Description static CryptoAlgorithm
CryptoAlgorithm. deserialize(short value)
Returns the CryptoAlgorithm object that matches the given value.CryptoAlgorithm
CryptoResult. getCryptoAlgorithm()
Convenience method equivalent toCryptoResult.getHeaders()
.getCryptoAlgoId()
.static CryptoAlgorithm
AwsCrypto. getDefaultCryptoAlgorithm()
Returns theCryptoAlgorithm
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.Methods in com.amazonaws.encryptionsdk with parameters of type CryptoAlgorithm Modifier and Type Method Description abstract DataKey<K>
MasterKeyProvider. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
Iterates throughencryptedDataKeys
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 provideddataKey
which is protected by thisMasterKey
for use withalgorithm
and associated with the providedencryptionContext
.abstract DataKey<K>
MasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
void
AwsCrypto. setEncryptionAlgorithm(CryptoAlgorithm alg)
Sets theCryptoAlgorithm
to use when encrypting data. -
Uses of CryptoAlgorithm in com.amazonaws.encryptionsdk.internal
Methods in com.amazonaws.encryptionsdk.internal with parameters of type CryptoAlgorithm Modifier and Type Method Description static TrailingSignatureAlgorithm
TrailingSignatureAlgorithm. forCryptoAlgorithm(CryptoAlgorithm algorithm)
-
Uses of CryptoAlgorithm in com.amazonaws.encryptionsdk.jce
Methods in com.amazonaws.encryptionsdk.jce with parameters of type CryptoAlgorithm 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)
DataKey<JceMasterKey>
JceMasterKey. generateDataKey(CryptoAlgorithm algorithm, Map<String,String> encryptionContext)
-
Uses of CryptoAlgorithm in com.amazonaws.encryptionsdk.kms
Methods in com.amazonaws.encryptionsdk.kms with parameters of type CryptoAlgorithm Modifier and Type Method Description DataKey<KmsMasterKey>
KmsMasterKey. decryptDataKey(CryptoAlgorithm algorithm, Collection<? extends EncryptedDataKey> encryptedDataKeys, Map<String,String> encryptionContext)
DataKey<KmsMasterKey>
KmsMasterKeyProvider. 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)
-
Uses of CryptoAlgorithm in com.amazonaws.encryptionsdk.model
Methods in com.amazonaws.encryptionsdk.model that return CryptoAlgorithm Modifier and Type Method Description CryptoAlgorithm
DecryptionMaterialsRequest.Builder. getAlgorithm()
CryptoAlgorithm
DecryptionMaterialsRequest. getAlgorithm()
CryptoAlgorithm
EncryptionMaterials.Builder. getAlgorithm()
CryptoAlgorithm
EncryptionMaterials. getAlgorithm()
The algorithm to use for this encryption operation.CryptoAlgorithm
CiphertextHeaders. getCryptoAlgoId()
Return the crypto algorithm identifier set in the header.CryptoAlgorithm
EncryptionMaterialsRequest.Builder. getRequestedAlgorithm()
CryptoAlgorithm
EncryptionMaterialsRequest. getRequestedAlgorithm()
Methods in com.amazonaws.encryptionsdk.model with parameters of type CryptoAlgorithm Modifier and Type Method Description DecryptionMaterialsRequest.Builder
DecryptionMaterialsRequest.Builder. setAlgorithm(CryptoAlgorithm algorithm)
EncryptionMaterials.Builder
EncryptionMaterials.Builder. setAlgorithm(CryptoAlgorithm algorithm)
EncryptionMaterialsRequest.Builder
EncryptionMaterialsRequest.Builder. setRequestedAlgorithm(CryptoAlgorithm requestedAlgorithm)
Constructors in com.amazonaws.encryptionsdk.model with parameters of type CryptoAlgorithm Constructor 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.
-