X509Certificate2Extensions.IsSelfSigned(X509Certificate2) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定证书是否为自签名证书。
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsSelfSigned(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);public static bool IsSelfSigned(this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);static member IsSelfSigned : System.Security.Cryptography.X509Certificates.X509Certificate2 -> bool<Extension()>
Public Function IsSelfSigned (certificate As X509Certificate2) As Boolean参数
- certificate
- X509Certificate2
返回
如此 如果证书是自签名的。