X509CertificateDatabaseFind(ISelectorX509Certificate, Boolean, X509CertificateRecordFields) Method

Finds the certificate records matching the specified selector.

Definition

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

Parameters

selector  ISelectorX509Certificate
The match selector or to match all certificates.
trustedAnchorsOnly  Boolean
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.

Implements

IX509CertificateDatabaseFind(ISelectorX509Certificate, Boolean, X509CertificateRecordFields)

Remarks

Searches the database for certificate records matching the selector, returning all the matching records populated with the desired fields.

Exceptions

See Also