IdentityConfiguration.ServiceCertificate 属性

定义

获取或设置服务的证书。

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate2 ^ ServiceCertificate { System::Security::Cryptography::X509Certificates::X509Certificate2 ^ get(); void set(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ value); };
public System.Security.Cryptography.X509Certificates.X509Certificate2 ServiceCertificate { get; set; }
member this.ServiceCertificate : System.Security.Cryptography.X509Certificates.X509Certificate2 with get, set
Public Property ServiceCertificate As X509Certificate2

属性值

用作服务证书的 X.509 证书。

注解

这是用于初始化 SecurityTokenResolver 属性和 SessionSecurityTokenHandler中指定的 ServiceTokenResolver 的服务证书。

适用于