SigningCredentials Class

Definition

Defines the SecurityKey, algorithm and digest for digital signatures.

public class SigningCredentials
type SigningCredentials = class
Public Class SigningCredentials
Inheritance
SigningCredentials
Derived

Constructors

SigningCredentials(SecurityKey, String, String)

Initializes a new instance of the SigningCredentials class.

SigningCredentials(SecurityKey, String)

Initializes a new instance of the SigningCredentials class.

SigningCredentials(X509Certificate2, String)

Initializes a new instance of the SigningCredentials class.

SigningCredentials(X509Certificate2)

Initializes a new instance of the SigningCredentials class.

Properties

Algorithm

Gets the signature algorithm.

CryptoProviderFactory

Users can override the default CryptoProviderFactory with this property. This factory will be used for creating signature providers.

Digest

Gets the digest algorithm.

Key

Gets the SecurityKey used for signature creation or validation.

Kid

Gets the key id associated with SecurityKey.

Applies to