Click or drag to resize
MimeKit

X509CertificateDatabaseFindPrivateKeys Method

Finds the private keys matching the specified selector.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public 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.

Implements

IX509CertificateDatabaseFindPrivateKeys(ISelectorX509Certificate)
Remarks
Searches the database for certificate records matching the selector, returning the private keys for each matching record.
See Also