Freigeben über


CertificateDescription.FromStoreWithThumbprint Method

Definition

Creates a certificate description from a thumbprint and store location (Certificate Manager on Windows, for instance).

public static Microsoft.Identity.Web.CertificateDescription FromStoreWithThumbprint (string certificateThumbprint, System.Security.Cryptography.X509Certificates.StoreLocation certificateStoreLocation = System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser, System.Security.Cryptography.X509Certificates.StoreName certificateStoreName = System.Security.Cryptography.X509Certificates.StoreName.My);
static member FromStoreWithThumbprint : string * System.Security.Cryptography.X509Certificates.StoreLocation * System.Security.Cryptography.X509Certificates.StoreName -> Microsoft.Identity.Web.CertificateDescription
Public Shared Function FromStoreWithThumbprint (certificateThumbprint As String, Optional certificateStoreLocation As StoreLocation = System.Security.Cryptography.X509Certificates.StoreLocation.CurrentUser, Optional certificateStoreName As StoreName = System.Security.Cryptography.X509Certificates.StoreName.My) As CertificateDescription

Parameters

certificateThumbprint
String

Certificate thumbprint.

certificateStoreLocation
StoreLocation

Store location where to find the certificate.

certificateStoreName
StoreName

Store name where to find the certificate.

Returns

A certificate description.

Applies to