Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CryptographyClient Class
Definition
- Namespace:
- Azure.Security.KeyVault.Keys.Cryptography
- Assembly:
- Azure.Security.KeyVault.Keys.dll
- Package:
- Azure.Security.KeyVault.Keys v4.10.0
- Package:
- Azure.Security.KeyVault.Keys v4.11.0-beta.1
- Source:
- CryptographyClient.cs
- Source:
- CryptographyClient.cs
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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| KeyId |
Gets the Id of the key used to perform cryptographic operations for the client. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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. |
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
