CertificateDescription.FromCertificate(X509Certificate2) Method
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.
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.