 | SqlCertificateDatabaseGetSelectCommand(DbConnection, ISelector`1X509Certificate, Boolean, Boolean, X509CertificateRecordFields) Method |
Get the database command to select the requested certificate records.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxprotected override 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
- if only trusted anchor certificates should be matched; otherwise, .
- 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 requested certificate records.
See Also