Share via


KeyVaultSignatureProvider(SecurityKey, String, Boolean) Constructor

Definition

Initializes a new instance of the KeyVaultSignatureProvider class.

public KeyVaultSignatureProvider (Microsoft.IdentityModel.Tokens.SecurityKey key, string algorithm, bool willCreateSignatures);
new Microsoft.IdentityModel.KeyVaultExtensions.KeyVaultSignatureProvider : Microsoft.IdentityModel.Tokens.SecurityKey * string * bool -> Microsoft.IdentityModel.KeyVaultExtensions.KeyVaultSignatureProvider
Public Sub New (key As SecurityKey, algorithm As String, willCreateSignatures As Boolean)

Parameters

key
SecurityKey

The SecurityKey that will be used for signature operations.

algorithm
String

The signature algorithm to apply.

willCreateSignatures
Boolean

Whether this KeyVaultSignatureProvider is required to create signatures then set this to true.

Exceptions

algorithmis null or empty.

Applies to