X509SigningCredentials Constructor (X509Certificate2)

.NET Framework (current version)
 

Initializes a new instance of the X509SigningCredentials class based on the specified X.509 certificate.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public X509SigningCredentials(
	X509Certificate2 certificate
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2

The X.509 certificate.

By default, this constructor uses an X509RawDataKeyIdentifierClause to generate the security key identifier.

.NET Framework
Available since 4.5
Return to top
Show: