KeyVaultSignatureProvider 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.
Provides signing and verifying operations using Azure Key Vault.
public class KeyVaultSignatureProvider : Microsoft.IdentityModel.Tokens.SignatureProvider
type KeyVaultSignatureProvider = class
inherit SignatureProvider
Public Class KeyVaultSignatureProvider
Inherits SignatureProvider
- Inheritance
Constructors
KeyVaultSignatureProvider(SecurityKey, String, Boolean) |
Initializes a new instance of the KeyVaultSignatureProvider class. |
Properties
Algorithm |
Gets the signature algorithm. (Inherited from SignatureProvider) |
Context |
Gets or sets a user context for a SignatureProvider. (Inherited from SignatureProvider) |
CryptoProviderCache |
Gets or sets the CryptoProviderCache that is associated with this SignatureProvider (Inherited from SignatureProvider) |
Key |
Gets the SecurityKey. (Inherited from SignatureProvider) |
WillCreateSignatures |
Gets or sets a bool indicating if this SignatureProvider is expected to create signatures. (Inherited from SignatureProvider) |
Methods
Dispose() |
Calls Dispose(Boolean) and SuppressFinalize(Object) (Inherited from SignatureProvider) |
Dispose(Boolean) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Sign(Byte[], Int32, Int32) |
Produces a signature over the specified region of the |
Sign(Byte[]) |
Produces a signature over the 'input' using Azure Key Vault. |
Sign(ReadOnlySpan<Byte>, Span<Byte>, Int32) |
Produces a signature over the |
Verify(Byte[], Byte[]) |
Verifies that the |
Verify(Byte[], Int32, Int32, Byte[], Int32, Int32) |
Verifies that a signature created over the 'input' matches the signature. Using SecurityKey and 'algorithm' passed to SignatureProvider(SecurityKey, String). |