X509Certificate2Extensions.IsSelfSigned(X509Certificate2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the certificate is self signed.
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
Parameters
- certificate
- X509Certificate2
The X509Certificate2.
Returns
True if the certificate is self signed.