Uses of Class
com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm
Packages that use EncryptionAlgorithm
Package
Description
Azure Key Vault is a cloud-based service
provided by Microsoft Azure that allows users to securely store and manage cryptographic keys used for encrypting
and decrypting data.
Package containing classes used for representing output/results of encryption, decryption, signing, verifying,
key wrapping and unwrapping operations.
-
Uses of EncryptionAlgorithm in com.azure.security.keyvault.keys.cryptography
Methods in com.azure.security.keyvault.keys.cryptography with parameters of type EncryptionAlgorithmModifier and TypeMethodDescriptionCryptographyAsyncClient.decrypt
(EncryptionAlgorithm algorithm, byte[] ciphertext) Decrypts a single block of encrypted data using the configured key and specified algorithm.CryptographyClient.decrypt
(EncryptionAlgorithm algorithm, byte[] ciphertext) Decrypts a single block of encrypted data using the configured key and specified algorithm.CryptographyClient.decrypt
(EncryptionAlgorithm algorithm, byte[] ciphertext, com.azure.core.util.Context context) Decrypts a single block of encrypted data using the configured key and specified algorithm.CryptographyAsyncClient.encrypt
(EncryptionAlgorithm algorithm, byte[] plaintext) Encrypts an arbitrary sequence of bytes using the configured key.CryptographyClient.encrypt
(EncryptionAlgorithm algorithm, byte[] plaintext) Encrypts an arbitrary sequence of bytes using the configured key.CryptographyClient.encrypt
(EncryptionAlgorithm algorithm, byte[] plaintext, com.azure.core.util.Context context) Encrypts an arbitrary sequence of bytes using the configured key. -
Uses of EncryptionAlgorithm in com.azure.security.keyvault.keys.cryptography.models
Fields in com.azure.security.keyvault.keys.cryptography.models declared as EncryptionAlgorithmModifier and TypeFieldDescriptionstatic final EncryptionAlgorithm
EncryptionAlgorithm.A128CBC
128-bit AES-CBC.static final EncryptionAlgorithm
EncryptionAlgorithm.A128CBC_HS256
128-bit AES-CBC with 256-bit HMAC.static final EncryptionAlgorithm
EncryptionAlgorithm.A128CBCPAD
128-bit AES-CBC with PKCS padding.static final EncryptionAlgorithm
EncryptionAlgorithm.A128GCM
128-bit AES-GCM.static final EncryptionAlgorithm
EncryptionAlgorithm.A128KW
Deprecated.This value is not supported for encrypt/decrypt operations.static final EncryptionAlgorithm
EncryptionAlgorithm.A192CBC
192-bit AES-CBC.static final EncryptionAlgorithm
EncryptionAlgorithm.A192CBC_HS384
256-bit AES-CBC with 384-bit HMAC.static final EncryptionAlgorithm
EncryptionAlgorithm.A192CBCPAD
192-bit AES-CBC with PKCS padding.static final EncryptionAlgorithm
EncryptionAlgorithm.A192GCM
192-bit AES-GCM.static final EncryptionAlgorithm
EncryptionAlgorithm.A192KW
Deprecated.This value is not supported for encrypt/decrypt operations.static final EncryptionAlgorithm
EncryptionAlgorithm.A256CBC
256-bit AES-CBC.static final EncryptionAlgorithm
EncryptionAlgorithm.A256CBC_HS512
256-bit AES-CBC with 512-bit HMAC.static final EncryptionAlgorithm
EncryptionAlgorithm.A256CBCPAD
256-bit AES-CBC with PKCS padding.static final EncryptionAlgorithm
EncryptionAlgorithm.A256GCM
256-bit AES-GCM.static final EncryptionAlgorithm
EncryptionAlgorithm.A256KW
Deprecated.This value is not supported for encrypt/decrypt operations.static final EncryptionAlgorithm
EncryptionAlgorithm.RSA_OAEP
[Not recommended] RSAES using Optimal Asymmetric Encryption Padding (OAEP), as described in https://tools.ietf.org/html/rfc3447, with the default parameters specified by RFC 3447 in Section A.2.1.static final EncryptionAlgorithm
EncryptionAlgorithm.RSA_OAEP_256
RSAES using Optimal Asymmetric Encryption Padding with a hash function of SHA-256 and a mask generation function of MGF1 with SHA-256.static final EncryptionAlgorithm
EncryptionAlgorithm.RSA1_5
[Not recommended] RSAES-PKCS1-V1_5 key encryption, as described in https://tools.ietf.org/html/rfc3447.Methods in com.azure.security.keyvault.keys.cryptography.models that return EncryptionAlgorithmModifier and TypeMethodDescriptionstatic EncryptionAlgorithm
EncryptionAlgorithm.fromString
(String name) Creates or finds a EncryptionAlgorithm from its string representation.DecryptParameters.getAlgorithm()
The algorithm to be used for decryption.DecryptResult.getAlgorithm()
Get the algorithm used for decryption.EncryptParameters.getAlgorithm()
The algorithm to be used for encryption.EncryptResult.getAlgorithm()
Get the encryption algorithm used for encryption.Methods in com.azure.security.keyvault.keys.cryptography.models that return types with arguments of type EncryptionAlgorithmModifier and TypeMethodDescriptionstatic Collection
<EncryptionAlgorithm> EncryptionAlgorithm.values()
Gets known EncryptionAlgorithm values.Constructors in com.azure.security.keyvault.keys.cryptography.models with parameters of type EncryptionAlgorithmModifierConstructorDescriptionDecryptResult
(byte[] plaintext, EncryptionAlgorithm algorithm, String keyId) Creates the instance of Decrypt Result holding decrypted content.EncryptResult
(byte[] ciphertext, EncryptionAlgorithm algorithm, String keyId) Creates the instance of Encrypt Result holding encryption operation response information.EncryptResult
(byte[] ciphertext, EncryptionAlgorithm algorithm, String keyId, byte[] iv, byte[] authenticationTag, byte[] additionalAuthenticatedData) Creates the instance of Encrypt Result holding encryption operation response information.