IX509CertificateDatabaseFind(MailboxAddress, DateTime, Boolean, X509CertificateRecordFields) Method

Finds the certificate records for the specified mailbox.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
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
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