PeerCredential.SetCertificate 메서드

정의

인증서를 설정합니다.

오버로드

SetCertificate(String, StoreLocation, StoreName)

인증서를 설정합니다.

SetCertificate(StoreLocation, StoreName, X509FindType, Object)

지정된 검색 조건으로 인증서를 설정합니다.

SetCertificate(String, StoreLocation, StoreName)

인증서를 설정합니다.

public:
 void SetCertificate(System::String ^ subjectName, System::Security::Cryptography::X509Certificates::StoreLocation storeLocation, System::Security::Cryptography::X509Certificates::StoreName storeName);
public void SetCertificate (string subjectName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.StoreName storeName);
member this.SetCertificate : string * System.Security.Cryptography.X509Certificates.StoreLocation * System.Security.Cryptography.X509Certificates.StoreName -> unit
Public Sub SetCertificate (subjectName As String, storeLocation As StoreLocation, storeName As StoreName)

매개 변수

subjectName
String

인증서의 주체 이름입니다.

storeLocation
StoreLocation

인증서 저장소의 위치입니다.

storeName
StoreName

인증서 저장소 이름입니다.

설명

이 오버로드는 피어의 인증서 자격 증명을 지정하는 데 사용됩니다. 이 오버로드는 사용자가 액세스할 수 있는 사용 가능한 인증서 저장소 중 하나에서 인증서를 로드하기 위한 바로 가기로 제공됩니다.

적용 대상

SetCertificate(StoreLocation, StoreName, X509FindType, Object)

지정된 검색 조건으로 인증서를 설정합니다.

public:
 void SetCertificate(System::Security::Cryptography::X509Certificates::StoreLocation storeLocation, System::Security::Cryptography::X509Certificates::StoreName storeName, System::Security::Cryptography::X509Certificates::X509FindType findType, System::Object ^ findValue);
public void SetCertificate (System.Security.Cryptography.X509Certificates.StoreLocation storeLocation, System.Security.Cryptography.X509Certificates.StoreName storeName, System.Security.Cryptography.X509Certificates.X509FindType findType, object findValue);
member this.SetCertificate : System.Security.Cryptography.X509Certificates.StoreLocation * System.Security.Cryptography.X509Certificates.StoreName * System.Security.Cryptography.X509Certificates.X509FindType * obj -> unit
Public Sub SetCertificate (storeLocation As StoreLocation, storeName As StoreName, findType As X509FindType, findValue As Object)

매개 변수

storeLocation
StoreLocation

인증서 저장소의 위치입니다.

storeName
StoreName

인증서 저장소 이름입니다.

findType
X509FindType

검색 조건입니다.

findValue
Object

검색할 값입니다.

적용 대상