Click or drag to resize
MimeKit

IX509CertificateDatabaseFind(MailboxAddress, DateTime, Boolean, X509CertificateRecordFields) Method

Finds the certificate records for the specified mailbox.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
IEnumerable<X509CertificateRecord> Find(
	MailboxAddress mailbox,
	DateTime now,
	bool requirePrivateKey,
	X509CertificateRecordFields fields
)

Parameters

mailbox  MailboxAddress
The mailbox.
now  DateTime
The date and time.
requirePrivateKey  Boolean
true if a private key is required.
fields  X509CertificateRecordFields
The desired fields.

Return Value

IEnumerableX509CertificateRecord
The matching certificate records populated with the desired fields.
Remarks
Searches the database for certificates matching the specified mailbox that are valid for the date and time specified, returning all matching records populated with the desired fields.
See Also