Click or drag to resize
MimeKit

X509CertificateDatabaseGetSelectCommand(DbConnection, MailboxAddress, DateTime, Boolean, X509CertificateRecordFields) Method

Gets the database command to select the certificate records for the specified mailbox.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected abstract DbCommand GetSelectCommand(
	DbConnection connection,
	MailboxAddress mailbox,
	DateTime now,
	bool requirePrivateKey,
	X509CertificateRecordFields fields
)

Parameters

connection  DbConnection
The database connection.
mailbox  MailboxAddress
The mailbox.
now  DateTime
The date and time for which the certificate should be valid.
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 the certificate records for the specified mailbox.
See Also