BouncyCastleSecureMimeContextGetCmsRecipients Method

Get a collection of CmsRecipients for the specified mailboxes.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
protected CmsRecipientCollection GetCmsRecipients(
	IEnumerable<MailboxAddress> mailboxes
)

Parameters

mailboxes  IEnumerableMailboxAddress
The mailboxes.

Return Value

CmsRecipientCollection
A CmsRecipientCollection.

Remarks

Gets a collection of CmsRecipients for the specified mailboxes.

Exceptions

ArgumentNullException mailboxes is .
CertificateNotFoundException A certificate for one or more of the specified mailboxes could not be found.

See Also