X509Certificate DatabaseFind Certificates Method
Finds the certificates matching the specified selector.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The matching certificates.
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public IEnumerable<X509Certificate> FindCertificates(
ISelector<X509Certificate>? selector
)Parameters
- selector ISelectorX509Certificate
- The match selector or to return all certificates.
Return Value
IEnumerableX509CertificateThe matching certificates.
Implements
IX509CertificateDatabaseFindCertificates(ISelectorX509Certificate)Remarks
Searches the database for certificates matching the selector, returning all
matching certificates.
Exceptions
| ObjectDisposedException | The X509CertificateDatabase has been disposed. |