X509CertificateDatabaseFindCertificates Method

Finds the certificates matching the specified selector.

Definition

Namespace: MimeKit.Cryptography
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

IEnumerableX509Certificate
The matching certificates.

Implements

IX509CertificateDatabaseFindCertificates(ISelectorX509Certificate)

Remarks

Searches the database for certificates matching the selector, returning all matching certificates.

Exceptions

See Also