Click or drag to resize
MimeKit

CmsRecipient Class

An S/MIME recipient.
Inheritance Hierarchy
SystemObject
  MimeKit.CryptographyCmsRecipient

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public class CmsRecipient

The CmsRecipient type exposes the following members.

Constructors
 NameDescription
Public methodCmsRecipient(Stream, SubjectIdentifierType) Initialize a new instance of the CmsRecipient class.
Public methodCmsRecipient(String, SubjectIdentifierType) Initialize a new instance of the CmsRecipient class.
Public methodCmsRecipient(X509Certificate, SubjectIdentifierType) Initialize a new instance of the CmsRecipient class.
Public methodCmsRecipient(X509Certificate2, SubjectIdentifierType) Initialize a new instance of the CmsRecipient class.
Top
Properties
 NameDescription
Public propertyCertificate Gets the recipient's certificate.
Public propertyEncryptionAlgorithms Gets or sets the known S/MIME encryption capabilities of the recipient's mail client, in their preferred order.
Public propertyRecipientIdentifierType Gets the recipient identifier type.
Public propertyRsaEncryptionPadding Get or set the RSA key encryption padding.
Top
Methods
 NameDescription
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Remarks
If the X.509 certificates are known for each of the recipients, you may wish to use a CmsRecipient as opposed to having the CryptographyContext do its own certificate lookups for each MailboxAddress.
See Also