Sql Certificate DatabaseGet Select Command(ISelectorX509Certificate, Boolean, Boolean, X509Certificate Record Fields) Method
Get the database command to select the requested certificate records.
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 override DbCommand GetSelectCommand(
ISelector<X509Certificate>? selector,
bool trustedAnchorsOnly,
bool requirePrivateKey,
X509CertificateRecordFields fields
)Parameters
- 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.