X509Certificate DatabaseGet Select Command(Mailbox Address, Date Time, Boolean, X509Certificate Record Fields) Method
Gets the database command to select the certificate records for the specified mailbox.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The database command.
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
protected abstract DbCommand GetSelectCommand(
MailboxAddress mailbox,
DateTime now,
bool requirePrivateKey,
X509CertificateRecordFields fields
)Parameters
- mailbox MailboxAddress
- The mailbox.
- now DateTime
- The date and time for which the certificate should be valid.
- requirePrivateKey Boolean
- if the certificate must have a private key; otherwise, .
- fields X509CertificateRecordFields
- The fields to return.
Return Value
DbCommandThe database command.
Remarks
Gets the database command to select the certificate records for the specified mailbox.