Click or drag to resize
MimeKit

IX509CertificateDatabaseFindPrivateKeys Method

Finds the private keys matching the specified selector.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
IEnumerable<AsymmetricKeyParameter> FindPrivateKeys(
	ISelector<X509Certificate> selector
)

Parameters

selector  ISelectorX509Certificate
The match selector or null to return all private keys.

Return Value

IEnumerableAsymmetricKeyParameter
The matching certificates.
Remarks
Searches the database for certificate records matching the selector, returning the private keys for each matching record.
See Also