Επεξεργασία

Κοινή χρήση μέσω


X509ThumbprintKeyIdentifierClause.Matches(X509Certificate2) Method

Definition

Returns a value that indicates whether the key identifier for this instance is equivalent to the specified X.509 certificate's thumbprint.

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

Parameters

certificate
X509Certificate2

An X509Certificate2 that contains the X.509 certificate to compare.

Returns

true if certificate has the same thumbprint as the current instance; otherwise, false.

Applies to