C# 클래스 NIST.DMC.CertificatesManager

CertificatesManager provides access to the user's local store of certificates
파일 보기 프로젝트 열기: usnistgov/DT4SM 1 사용 예제들

공개 메소드들

메소드 설명
AddCertificate ( X509Certificate2 certificate ) : void

Adds a certificate in the user's local store

AddCertificate ( string filePath ) : void

Adds a certificate in the user's local store

AddProtectedCertificate ( string filePath, string password ) : void

Adds a protected certificate in the user's local store

FindByFriendlyName ( string friendlyName ) : X509Certificate2

Finds a certificate, in the user's local store, by its friendly name

GetCertificates ( ) : List

Retrieves the user's local certificates

메소드 상세

AddCertificate() 공개 정적인 메소드

Adds a certificate in the user's local store
public static AddCertificate ( X509Certificate2 certificate ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate to add to the store
리턴 void

AddCertificate() 공개 정적인 메소드

Adds a certificate in the user's local store
public static AddCertificate ( string filePath ) : void
filePath string Path to the file containing the certificate to add
리턴 void

AddProtectedCertificate() 공개 정적인 메소드

Adds a protected certificate in the user's local store
public static AddProtectedCertificate ( string filePath, string password ) : void
filePath string Path to the file that contains the certificate
password string Password to access the certificate data
리턴 void

FindByFriendlyName() 공개 정적인 메소드

Finds a certificate, in the user's local store, by its friendly name
public static FindByFriendlyName ( string friendlyName ) : X509Certificate2
friendlyName string Friendly name of the certificates
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

GetCertificates() 공개 정적인 메소드

Retrieves the user's local certificates
public static GetCertificates ( ) : List
리턴 List