X509RawDataKeyIdentifierClause.Matches(X509Certificate2) Method
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.
Returns a value that indicates whether the key identifier for this instance is equivalent to the specified X.509 certificate.
public:
bool Matches(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public bool Matches (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
override this.Matches : System.Security.Cryptography.X509Certificates.X509Certificate2 -> bool
Public Function Matches (certificate As X509Certificate2) As Boolean
- certificate
- X509Certificate2
An X509Certificate2 that contains the X.509 certificate to compare.
true
if certificate
has the raw data that matches the current instance; otherwise, false
.
certificate
is null
.
The Matches method calls the GetRawCertData method for the certificate
and then compares that to the current instance.
מוצר | גירסאות |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
משוב של .NET
.NET הוא פרויקט קוד פתוח. בחר קישור כדי לספק משוב: