DefaultCertificateLoader.LoadFirstCertificate Method

Definition

Load the first certificate from the certificate description list.

public static System.Security.Cryptography.X509Certificates.X509Certificate2? LoadFirstCertificate (System.Collections.Generic.IEnumerable<Microsoft.Identity.Web.CertificateDescription> certificateDescriptions);
static member LoadFirstCertificate : seq<Microsoft.Identity.Web.CertificateDescription> -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function LoadFirstCertificate (certificateDescriptions As IEnumerable(Of CertificateDescription)) As X509Certificate2

Parameters

certificateDescriptions
IEnumerable<CertificateDescription>

Description of the certificates.

Returns

First certificate in the certificate description list.

Applies to