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 |
---|---|
UnwrapResult |
CryptographyClient.unwrapKey(KeyWrapAlgorithm algorithm,
byte[] encryptedKey)
Unwraps a symmetric key using the configured key that was initially used for wrapping that key.
|
Mono<UnwrapResult> |
CryptographyAsyncClient.unwrapKey(KeyWrapAlgorithm algorithm,
byte[] encryptedKey)
Unwraps a symmetric key using the configured key that was initially used for wrapping that key.
|
UnwrapResult |
CryptographyClient.unwrapKey(KeyWrapAlgorithm algorithm,
byte[] encryptedKey,
com.azure.core.util.Context context)
Unwraps a symmetric key using the configured key that was initially used for wrapping that key.
|
WrapResult |
CryptographyClient.wrapKey(KeyWrapAlgorithm algorithm,
byte[] key)
Wraps a symmetric key using the configured key.
|
Mono<WrapResult> |
CryptographyAsyncClient.wrapKey(KeyWrapAlgorithm algorithm,
byte[] key)
Wraps a symmetric key using the configured key.
|
WrapResult |
CryptographyClient.wrapKey(KeyWrapAlgorithm algorithm,
byte[] key,
com.azure.core.util.Context context)
Wraps a symmetric key using the configured key.
|
Modifier and Type | Field and Description |
---|---|
static KeyWrapAlgorithm |
KeyWrapAlgorithm.A128KW
Static value A128KW for KeyWrapAlgorithm.
|
static KeyWrapAlgorithm |
KeyWrapAlgorithm.A192KW
Static value A192KW for KeyWrapAlgorithm.
|
static KeyWrapAlgorithm |
KeyWrapAlgorithm.A256KW
Static value Unwrap Key for KeyWrapAlgorithm.
|
static KeyWrapAlgorithm |
KeyWrapAlgorithm.RSA_OAEP
Static value RSA-OAEP for KeyWrapAlgorithm.
|
static KeyWrapAlgorithm |
KeyWrapAlgorithm.RSA_OAEP_256
Static value RSA-OAEP-256 for KeyWrapAlgorithm.
|
static KeyWrapAlgorithm |
KeyWrapAlgorithm.RSA1_5
Static value RSA1_5 for KeyWrapAlgorithm.
|
Modifier and Type | Method and Description |
---|---|
static KeyWrapAlgorithm |
KeyWrapAlgorithm.fromString(String name)
Creates or finds a KeyWrapAlgorithm from its string representation.
|
KeyWrapAlgorithm |
UnwrapResult.getAlgorithm()
Get the algorithm used for key wrap operation.
|
KeyWrapAlgorithm |
WrapResult.getAlgorithm()
Get the key wrap algorithm used to wrap the key content.
|
Constructor and Description |
---|
UnwrapResult(byte[] key,
KeyWrapAlgorithm algorithm,
String keyId)
Creates the instance of KeyUnwrap Result holding the unwrapped key content.
|
WrapResult(byte[] encryptedKey,
KeyWrapAlgorithm algorithm,
String keyId)
Creates the instance of KeyWrapResult holding the key wrap operation response details.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.