Click or drag to resize
MimeKit

X509CertificateDatabaseFind(X509Certificate, X509CertificateRecordFields) Method

Find the specified certificate.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public X509CertificateRecord Find(
	X509Certificate certificate,
	X509CertificateRecordFields fields
)

Parameters

certificate  X509Certificate
The certificate.
fields  X509CertificateRecordFields
The desired fields.

Return Value

X509CertificateRecord
The matching record if found; otherwise null.

Implements

IX509CertificateDatabaseFind(X509Certificate, X509CertificateRecordFields)
Exceptions
ExceptionCondition
ArgumentNullExceptioncertificate is null.
Remarks
Searches the database for the specified certificate, returning the matching record with the desired fields populated.
See Also