HttpClientHandler.ClientCertificates 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与向服务器发出的请求关联的安全证书的集合。
public:
property System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ ClientCertificates { System::Security::Cryptography::X509Certificates::X509CertificateCollection ^ get(); };
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get; }
public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get; }
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.ClientCertificates : System.Security.Cryptography.X509Certificates.X509CertificateCollection
member this.ClientCertificates : System.Security.Cryptography.X509Certificates.X509CertificateCollection
Public ReadOnly Property ClientCertificates As X509CertificateCollection
属性值
执行基于证书的客户端身份验证时提供给服务器的 X509CertificateCollection。
- 属性
注解
在 .NET Core 上,X509 证书上的密钥用法属性(如果有)需要具有值“数字签名”,以便在发送请求时使用。