Udostępnij za pośrednictwem


CertificateDescription.FromCertificate(X509Certificate2) Method

Definition

Creates a certificate description from a certificate (by code).

public static Microsoft.Identity.Web.CertificateDescription FromCertificate (System.Security.Cryptography.X509Certificates.X509Certificate2 x509certificate2);
static member FromCertificate : System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.Identity.Web.CertificateDescription
Public Shared Function FromCertificate (x509certificate2 As X509Certificate2) As CertificateDescription

Parameters

x509certificate2
X509Certificate2

Certificate.

Returns

A certificate description.

Applies to