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 |
---|---|
SignResult |
CryptographyClient.sign(SignatureAlgorithm algorithm,
byte[] digest)
Creates a signature from a digest using the configured key.
|
Mono<SignResult> |
CryptographyAsyncClient.sign(SignatureAlgorithm algorithm,
byte[] digest)
Creates a signature from a digest using the configured key.
|
SignResult |
CryptographyClient.sign(SignatureAlgorithm algorithm,
byte[] digest,
com.azure.core.util.Context context)
Creates a signature from a digest using the configured key.
|
SignResult |
CryptographyClient.signData(SignatureAlgorithm algorithm,
byte[] data)
Creates a signature from the raw data using the configured key.
|
Mono<SignResult> |
CryptographyAsyncClient.signData(SignatureAlgorithm algorithm,
byte[] data)
Creates a signature from the raw data using the configured key.
|
SignResult |
CryptographyClient.signData(SignatureAlgorithm algorithm,
byte[] data,
com.azure.core.util.Context context)
Creates a signature from the raw data using the configured key.
|
VerifyResult |
CryptographyClient.verify(SignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
Verifies a signature using the configured key.
|
Mono<VerifyResult> |
CryptographyAsyncClient.verify(SignatureAlgorithm algorithm,
byte[] digest,
byte[] signature)
Verifies a signature using the configured key.
|
VerifyResult |
CryptographyClient.verify(SignatureAlgorithm algorithm,
byte[] digest,
byte[] signature,
com.azure.core.util.Context context)
Verifies a signature using the configured key.
|
VerifyResult |
CryptographyClient.verifyData(SignatureAlgorithm algorithm,
byte[] data,
byte[] signature)
Verifies a signature against the raw data using the configured key.
|
Mono<VerifyResult> |
CryptographyAsyncClient.verifyData(SignatureAlgorithm algorithm,
byte[] data,
byte[] signature)
Verifies a signature against the raw data using the configured key.
|
VerifyResult |
CryptographyClient.verifyData(SignatureAlgorithm algorithm,
byte[] data,
byte[] signature,
com.azure.core.util.Context context)
Verifies a signature against the raw data using the configured key.
|
Modifier and Type | Field and Description |
---|---|
static SignatureAlgorithm |
SignatureAlgorithm.ES256
Static value ES256 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.ES256K
Static value ES256K for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.ES384
Static value ES384 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.ES512
Static value ES512 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.PS256
Static value PS256 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.PS384
Static value PS384 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.PS512
Static value PS512 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.RS256
Static value RS256 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.RS384
Static value RS384 for SignatureAlgorithm.
|
static SignatureAlgorithm |
SignatureAlgorithm.RS512
Static value RS512 for SignatureAlgorithm.
|
Modifier and Type | Method and Description |
---|---|
static SignatureAlgorithm |
SignatureAlgorithm.fromString(String name)
Creates or finds a SignatureAlgorithm from its string representation.
|
SignatureAlgorithm |
SignResult.getAlgorithm()
Get the signature algorithm used to create the signature.
|
SignatureAlgorithm |
VerifyResult.getAlgorithm()
Get the signature algorithm used to verify the signature.
|
Constructor and Description |
---|
SignResult(byte[] signature,
SignatureAlgorithm algorithm,
String keyId)
Creates the instance of SignResult holding the sign operation response details.
|
VerifyResult(Boolean isValid,
SignatureAlgorithm algorithm,
String keyId)
Creates the instance of Verify Result holding the verification response information.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.