DefaultCertificateLoader.LoadFirstCertificateAsync 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.
Load the first certificate from the certificate description list.
public static System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2?> LoadFirstCertificateAsync (System.Collections.Generic.IEnumerable<Microsoft.Identity.Web.CertificateDescription> certificateDescriptions);
static member LoadFirstCertificateAsync : seq<Microsoft.Identity.Web.CertificateDescription> -> System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2>
Public Shared Function LoadFirstCertificateAsync (certificateDescriptions As IEnumerable(Of CertificateDescription)) As Task(Of X509Certificate2)
Parameters
- certificateDescriptions
- IEnumerable<CertificateDescription>
Description of the certificates.
Returns
First certificate in the certificate description list.