Click or drag to resize
MimeKit

IX509CertificateDatabaseFind(ISelector`1X509Certificate, Boolean, X509CertificateRecordFields) Method

Finds the certificate records matching the specified selector.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
IEnumerable<X509CertificateRecord> Find(
	ISelector<X509Certificate> selector,
	bool trustedAnchorsOnly,
	X509CertificateRecordFields fields
)

Parameters

selector  ISelectorX509Certificate
The match selector or null to match all certificates.
trustedAnchorsOnly  Boolean
true if only trusted anchor certificates should be returned.
fields  X509CertificateRecordFields
The desired fields.

Return Value

IEnumerableX509CertificateRecord
The matching certificate records populated with the desired fields.
Remarks
Searches the database for certificate records matching the selector, returning all of the matching records populated with the desired fields.
See Also