| Package | Description |
|---|---|
| com.azure.security.keyvault.keys.cryptography |
Package containing classes for creating
CryptographyAsyncClient
and CryptographyClient to perform cryptography operations. |
| com.azure.security.keyvault.keys.cryptography.models |
Package containing classes used for representing output/results of encryption, decryption, signing, verifying,
key wrapping and unwrapping operations.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<EncryptResult> |
CryptographyAsyncClient.encrypt(EncryptParameters encryptParameters)
Encrypts an arbitrary sequence of bytes using the configured key.
|
EncryptResult |
CryptographyClient.encrypt(EncryptParameters encryptParameters,
com.azure.core.util.Context context)
Encrypts an arbitrary sequence of bytes using the configured key.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptParameters |
EncryptParameters.createA128CbcPadParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A128CBCPAD. |
static EncryptParameters |
EncryptParameters.createA128CbcPadParameters(byte[] plaintext,
byte[] iv)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A128CBCPAD. |
static EncryptParameters |
EncryptParameters.createA128CbcParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A128CBC. |
static EncryptParameters |
EncryptParameters.createA128CbcParameters(byte[] plaintext,
byte[] iv)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A128CBC. |
static EncryptParameters |
EncryptParameters.createA128GcmParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A128GCM. |
static EncryptParameters |
EncryptParameters.createA128GcmParameters(byte[] plaintext,
byte[] additionalAuthenticatedData)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A128GCM. |
static EncryptParameters |
EncryptParameters.createA192CbcPadParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A192CBCPAD. |
static EncryptParameters |
EncryptParameters.createA192CbcPadParameters(byte[] plaintext,
byte[] iv)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A192CBCPAD. |
static EncryptParameters |
EncryptParameters.createA192CbcParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A192CBC. |
static EncryptParameters |
EncryptParameters.createA192CbcParameters(byte[] plaintext,
byte[] iv)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A192CBC. |
static EncryptParameters |
EncryptParameters.createA192GcmParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A192GCM. |
static EncryptParameters |
EncryptParameters.createA192GcmParameters(byte[] plaintext,
byte[] additionalAuthenticatedData)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A192GCM. |
static EncryptParameters |
EncryptParameters.createA256CbcPadParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A256CBCPAD. |
static EncryptParameters |
EncryptParameters.createA256CbcPadParameters(byte[] plaintext,
byte[] iv)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A256CBCPAD. |
static EncryptParameters |
EncryptParameters.createA256CbcParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A256CBC. |
static EncryptParameters |
EncryptParameters.createA256CbcParameters(byte[] plaintext,
byte[] iv)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A256CBC. |
static EncryptParameters |
EncryptParameters.createA256GcmParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A256GCM. |
static EncryptParameters |
EncryptParameters.createA256GcmParameters(byte[] plaintext,
byte[] additionalAuthenticatedData)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.A256GCM. |
static EncryptParameters |
EncryptParameters.createRsa15Parameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.RSA1_5. |
static EncryptParameters |
EncryptParameters.createRsaOaep256Parameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.RSA_OAEP_256. |
static EncryptParameters |
EncryptParameters.createRsaOaepParameters(byte[] plaintext)
Factory method to create an instance of
EncryptParameters with the given parameters for
EncryptionAlgorithm.RSA_OAEP. |
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.