C# 클래스 Thinktecture.IdentityModel.Utility.X509Certificates

Helper class to retrieve certificates from configuration
파일 보기 프로젝트 열기: IdentityModel/Thinktecture.IdentityModel.v1

공개 메소드들

메소드 설명
DownloadSslCertificate ( string machineName, int port ) : X509Certificate2

Downloads the SSL certificate from an SSL site.

GetCertificate ( string name ) : X509Certificate2

Retrieves a named certificate.

GetCertificate ( string name, string password ) : X509Certificate2

Retrieves a named certificate.

GetCertificateFromStore ( StoreLocation location, StoreName name, X509FindType findType, object value ) : X509Certificate2

Retrieves a certificate from the certificate store.

GetCertificateFromStore ( string subjectDistinguishedName ) : X509Certificate2

Retrieves a certificate from the current user / personal certificate store.

GetCertificateFromStore ( string subjectDistinguishedName, StoreLocation location ) : X509Certificate2

Retrieves a certificate from the specified personal certificate store.

비공개 메소드들

메소드 설명
GetReference ( string name ) : CertificateReferenceElement

Retrieves a named certificate reference.

메소드 상세

DownloadSslCertificate() 공개 정적인 메소드

Downloads the SSL certificate from an SSL site.
public static DownloadSslCertificate ( string machineName, int port ) : X509Certificate2
machineName string Name of the machine.
port int The port.
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

GetCertificate() 공개 정적인 메소드

Retrieves a named certificate.
public static GetCertificate ( string name ) : X509Certificate2
name string The name.
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

GetCertificate() 공개 정적인 메소드

Retrieves a named certificate.
public static GetCertificate ( string name, string password ) : X509Certificate2
name string The name.
password string The password.
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

GetCertificateFromStore() 공개 정적인 메소드

Retrieves a certificate from the certificate store.
public static GetCertificateFromStore ( StoreLocation location, StoreName name, X509FindType findType, object value ) : X509Certificate2
location StoreLocation The location.
name StoreName The name.
findType X509FindType Type of the find.
value object The value.
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

GetCertificateFromStore() 공개 정적인 메소드

Retrieves a certificate from the current user / personal certificate store.
public static GetCertificateFromStore ( string subjectDistinguishedName ) : X509Certificate2
subjectDistinguishedName string The subject distinguished name of the certificate.
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

GetCertificateFromStore() 공개 정적인 메소드

Retrieves a certificate from the specified personal certificate store.
public static GetCertificateFromStore ( string subjectDistinguishedName, StoreLocation location ) : X509Certificate2
subjectDistinguishedName string The subject distinguished name of the certificate.
location StoreLocation The store location.
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2