Click or drag to resize
MimeKit

X509CertificateDatabaseGetSelectCommand(DbConnection, ISelector`1X509Certificate, Boolean, Boolean, X509CertificateRecordFields) Method

Gets the database command to select certificate records matching the specified selector.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected abstract DbCommand GetSelectCommand(
	DbConnection connection,
	ISelector<X509Certificate> selector,
	bool trustedAnchorsOnly,
	bool requirePrivateKey,
	X509CertificateRecordFields fields
)

Parameters

connection  DbConnection
The database connection.
selector  ISelectorX509Certificate
The certificate selector.
trustedAnchorsOnly  Boolean
true if only trusted anchor certificates should be matched; otherwise, false.
requirePrivateKey  Boolean
true if the certificate must have a private key; otherwise, false.
fields  X509CertificateRecordFields
The fields to return.

Return Value

DbCommand
The database command.
Remarks
Gets the database command to select certificate records matching the specified selector.
See Also