CertificateLoader.LoadFromStoreCert 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
인증서 저장소에서 인증서를 로드합니다.
public:
static System::Security::Cryptography::X509Certificates::X509Certificate2 ^ LoadFromStoreCert(System::String ^ subject, System::String ^ storeName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation, bool allowInvalid);
public static System.Security.Cryptography.X509Certificates.X509Certificate2 LoadFromStoreCert (string subject, string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, bool allowInvalid);
static member LoadFromStoreCert : string * string * System.Security.Cryptography.X509Certificates.StoreLocation * bool -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function LoadFromStoreCert (subject As String, storeName As String, storeLocation As StoreLocation, allowInvalid As Boolean) As X509Certificate2
매개 변수
- subject
- String
인증서 주체입니다.
- storeName
- String
인증서 저장소 이름입니다.
- storeLocation
- StoreLocation
인증서 저장소 위치입니다.
- allowInvalid
- Boolean
잘못된 것으로 간주되는 인증서를 로드할지 여부입니다.
반환
로드된 인증서입니다.
설명
정확한 주체 일치 항목이 있는 경우 로드되고, 그렇지 않으면 제공된 주체가 포함된 주체 이름과 가장 일치하는 인증서가 로드됩니다. 주체 비교는 대/소문자를 구분하지 않습니다.