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 |
---|---|
EncryptionAlgorithm |
DecryptParameters.getAlgorithm()
The algorithm to be used for decryption.
|
EncryptionAlgorithm |
EncryptParameters.getAlgorithm()
The algorithm to be used for encryption.
|
Modifier and Type | Method and Description |
---|---|
DecryptResult |
CryptographyClient.decrypt(EncryptionAlgorithm algorithm,
byte[] ciphertext)
Decrypts a single block of encrypted data using the configured key and specified algorithm.
|
Mono<DecryptResult> |
CryptographyAsyncClient.decrypt(EncryptionAlgorithm algorithm,
byte[] ciphertext)
Decrypts a single block of encrypted data using the configured key and specified algorithm.
|
DecryptResult |
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.
|
EncryptResult |
CryptographyClient.encrypt(EncryptionAlgorithm algorithm,
byte[] plaintext)
Encrypts an arbitrary sequence of bytes using the configured key.
|
Mono<EncryptResult> |
CryptographyAsyncClient.encrypt(EncryptionAlgorithm algorithm,
byte[] plaintext)
Encrypts an arbitrary sequence of bytes using the configured key.
|
EncryptResult |
CryptographyClient.encrypt(EncryptionAlgorithm algorithm,
byte[] plaintext,
com.azure.core.util.Context context)
Encrypts an arbitrary sequence of bytes using the configured key.
|
Modifier and Type | Field and Description |
---|---|
static EncryptionAlgorithm |
EncryptionAlgorithm.A128CBC
Static value A128CBC for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A128CBC_HS256
Static value A128CBC_HS256 for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A128CBCPAD
Static value A128CBCPAD for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A128GCM
Static value A128GCM for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A128KW
Static value A128KW for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A192CBC
Static value A192CBC for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A192CBC_HS384
Static value A192CBC_HS384 for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A192CBCPAD
Static value A192CBCPAD for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A192GCM
Static value A192GCM for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A192KW
Static value A192KW for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A256CBC
Static value A256CBC for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A256CBC_HS512
Static value A256CBC_HS512 for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A256CBCPAD
Static value A256CBCPAD for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A256GCM
Static value A256GCM for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.A256KW
Static value A256KW for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.RSA_OAEP
Static value RSA_OAEP for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.RSA_OAEP_256
Static value RSA_OAEP_256 for EncryptionAlgorithm.
|
static EncryptionAlgorithm |
EncryptionAlgorithm.RSA1_5
Static value RSA1_5 for EncryptionAlgorithm.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionAlgorithm |
EncryptionAlgorithm.fromString(String name)
Creates or finds a EncryptionAlgorithm from its string representation.
|
EncryptionAlgorithm |
DecryptResult.getAlgorithm()
Get the algorithm used for decryption.
|
EncryptionAlgorithm |
EncryptResult.getAlgorithm()
Get the encryption algorithm used for encryption.
|
Constructor and Description |
---|
DecryptResult(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[] additionalAuthenticatedData,
byte[] authenticationTag)
Creates the instance of Encrypt Result holding encryption operation response information.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.