IX 509Certificate DatabaseFind(ISelectorX509Certificate, Boolean, X509Certificate Record Fields) Method
Finds the certificate records matching the specified selector.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The matching certificate records populated with the desired fields.
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
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
IEnumerableX509CertificateRecordThe matching certificate records populated with the desired fields.
Remarks
Searches the database for certificate records matching the selector, returning all
the matching records populated with the desired fields.