KeyResolver 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.
Azure Key Vault KeyResolver. This class resolves Key Vault Key Identifiers and Secret Identifiers to create CryptographyClient instances capable of performing cryptographic operations with the key. Secret Identifiers can only be resolved if the Secret is a byte array with a length matching one of the AES key lengths (128, 192, 256) and the content-type of the secret is application/octet-stream.
public class KeyResolver : Azure.Core.Cryptography.IKeyEncryptionKeyResolver
type KeyResolver = class
interface IKeyEncryptionKeyResolver
Public Class KeyResolver
Implements IKeyEncryptionKeyResolver
- Inheritance
-
KeyResolver
- Implements
Constructors
KeyResolver() |
Initializes a new instance of the KeyResolver class for mocking. |
KeyResolver(TokenCredential) |
Initializes a new instance of the KeyResolver class. |
KeyResolver(TokenCredential, CryptographyClientOptions) |
Initializes a new instance of the KeyResolver class. |
Methods
Resolve(Uri, CancellationToken) |
Retrieves a CryptographyClient capable of performing cryptographic operations with the key represented by the specified |
ResolveAsync(Uri, CancellationToken) |
Retrieves a CryptographyClient capable of performing cryptographic operations with the key represented by the specified |
Explicit Interface Implementations
IKeyEncryptionKeyResolver.Resolve(String, CancellationToken) |
Retrieves the key encryption key corresponding to the specified keyId. |
IKeyEncryptionKeyResolver.ResolveAsync(String, CancellationToken) |
Retrieves the key encryption key corresponding to the specified keyId. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應