Share via


KeyVaultSignatureProvider Class

Definition

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
KeyVaultSignatureProvider

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 input.

(Inherited from SignatureProvider)
Sign(Byte[])

Produces a signature over the 'input' using Azure Key Vault.

Sign(ReadOnlySpan<Byte>, Span<Byte>, Int32)

Produces a signature over the data and writes it to destination.

(Inherited from SignatureProvider)
Verify(Byte[], Byte[])

Verifies that the signature is over input using Azure Key Vault.

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).

Applies to