CryptographyClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A client used to perform cryptographic operations with Azure Key Vault keys.
public class CryptographyClient : Azure.Core.Cryptography.IKeyEncryptionKey
type CryptographyClient = class
interface IKeyEncryptionKey
Public Class CryptographyClient
Implements IKeyEncryptionKey
- Inheritance
-
CryptographyClient
- Implements
Constructors
CryptographyClient() |
Initializes a new instance of the CryptographyClient class for mocking. |
CryptographyClient(JsonWebKey, LocalCryptographyClientOptions) |
Initializes a new instance of the CryptographyClient class. Cryptographic operations will be performed only on the local machine. |
CryptographyClient(JsonWebKey) |
Initializes a new instance of the CryptographyClient class. Cryptographic operations will be performed only on the local machine. |
CryptographyClient(Uri, TokenCredential, CryptographyClientOptions) |
Initializes a new instance of the CryptographyClient class. |
CryptographyClient(Uri, TokenCredential) |
Initializes a new instance of the CryptographyClient class. |
Properties
KeyId |
Gets the Id of the key used to perform cryptographic operations for the client. |
Methods
Explicit Interface Implementations
IKeyEncryptionKey.UnwrapKey(String, ReadOnlyMemory<Byte>, CancellationToken) |
Decrypts the specified encrypted key using the specified algorithm. |
IKeyEncryptionKey.UnwrapKeyAsync(String, ReadOnlyMemory<Byte>, CancellationToken) |
Decrypts the specified encrypted key using the specified algorithm. |
IKeyEncryptionKey.WrapKey(String, ReadOnlyMemory<Byte>, CancellationToken) |
Encrypts the specified key using the specified algorithm. |
IKeyEncryptionKey.WrapKeyAsync(String, ReadOnlyMemory<Byte>, CancellationToken) |
Encrypts the specified key using the specified algorithm. |