System::Net::Security::SslStream::AuthenticateAsClient 方法
SslStream::AuthenticateAsClient(String) method
对连接的客户端侧进行身份验证。
virtual void System::Net::Security::SslStream::AuthenticateAsClient(String targetHost)
| 参数 | 类型 | 描述 |
|---|---|---|
| targetHost | String | 共享当前实例的服务器名称。 |
另见
- Class String
- Class SslStream
- Namespace System::Net::Security
- Library Aspose.Font for C++
SslStream::AuthenticateAsClient(String, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection>, System::Security::Authentication::SslProtocols, bool) method
对连接的客户端侧进行身份验证。
virtual void System::Net::Security::SslStream::AuthenticateAsClient(String targetHost, System::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection> clientCertificates, System::Security::Authentication::SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
| 参数 | 类型 | 描述 |
|---|---|---|
| targetHost | String | 共享当前实例的服务器名称。 |
| clientCertificates | System::SharedPtr<System::Security::Cryptography::X509Certificates::X509CertificateCollection> | 客户端证书。 |
| enabledSslProtocols | System::Security::Authentication::SslProtocols | 用于身份验证的 SSL 协议。 |
| checkCertificateRevocation | bool | 指示在身份验证期间是否必须检查证书吊销列表的值。 |
另见
- Class String
- Typedef SharedPtr
- Class X509CertificateCollection
- Enum SslProtocols
- Class SslStream
- Namespace System::Net::Security
- Library Aspose.Font for C++