Bouncy Castle Secure Mime ContextGet Cms Recipients 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
A CmsRecipientCollection.
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
CmsRecipientCollectionA 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. |