X509SecurityToken.Certificate 属性

定义

获取与安全令牌关联的 X.509 证书。

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate2 ^ Certificate { System::Security::Cryptography::X509Certificates::X509Certificate2 ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2
Public ReadOnly Property Certificate As X509Certificate2

属性值

一个包含 X.509 证书的 X509Certificate2

注解

使用 Certificate 属性可获取有关与 X509SecurityToken 安全令牌关联的 X.509 证书的详细信息。 例如,可以使用 Thumbprint 属性访问 X.509 证书的指纹。

适用于