X509SigningCredentials Class

Definition

Defines the X509Certificate2, algorithm and digest for digital signatures.

public class X509SigningCredentials : Microsoft.IdentityModel.Tokens.SigningCredentials
type X509SigningCredentials = class
    inherit SigningCredentials
Public Class X509SigningCredentials
Inherits SigningCredentials
Inheritance
X509SigningCredentials

Constructors

X509SigningCredentials(X509Certificate2)

Initializes a new instance of the X509SigningCredentials class.

X509SigningCredentials(X509Certificate2, String)

Initializes a new instance of the X509SigningCredentials class.

Properties

Algorithm

Gets the signature algorithm.

(Inherited from SigningCredentials)
Certificate

Gets the X509Certificate2 used by this instance.

CryptoProviderFactory

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

(Inherited from SigningCredentials)
Digest

Gets the digest algorithm.

(Inherited from SigningCredentials)
Key

Gets the SecurityKey used for signature creation or validation.

(Inherited from SigningCredentials)
Kid

Gets the key id associated with SecurityKey.

(Inherited from SigningCredentials)

Applies to