다음을 통해 공유


X509CertificateRecipientClientCredential.Authentication 속성

정의

SSL 인증을 사용하여 가져온 서비스 인증서의 유효성을 검사하는 데 사용되는 설정을 가져옵니다.

public:
 property System::ServiceModel::Security::X509ServiceCertificateAuthentication ^ Authentication { System::ServiceModel::Security::X509ServiceCertificateAuthentication ^ get(); };
public System.ServiceModel.Security.X509ServiceCertificateAuthentication Authentication { get; }
member this.Authentication : System.ServiceModel.Security.X509ServiceCertificateAuthentication
Public ReadOnly Property Authentication As X509ServiceCertificateAuthentication

속성 값

X509ServiceCertificateAuthentication

SSL 인증을 사용하여 가져온 서비스 인증서의 유효성을 검사하는 데 사용되는 설정입니다.

예제

이 코드는 이 속성에 액세스하는 방법을 보여줍니다.

public void snippet21(CalculatorClient cc)
{
    X509CertificateRecipientClientCredential rcc = cc.ClientCredentials.ServiceCertificate;
    X509ServiceCertificateAuthentication xauth = rcc.Authentication;
}

설명

이 클래스는 X509ClientCertificateAuthentication SSL/TLS 협상을 사용하여 얻은 서비스 인증서를 인증하기 위해 클라이언트 프록시에서 사용하는 설정을 나타냅니다.

적용 대상