KeyVaultSignatureProvider(SecurityKey, String, Boolean) Constructor
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.
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
algorithm
is null or empty.