Class EnvelopedData
A CMS EnvelopedData structure (RFC 5652 §6). Contains the recipient information and the encrypted content info.
Inherited Members
Namespace: DRIT.Mail.Rfc.Crypto.Cms
Assembly: DRIT.Mail.dll
Syntax
public sealed class EnvelopedData
Constructors
View SourceEnvelopedData(int, IReadOnlyList<RecipientInfo>, EncryptedContentInfo)
Initializes a new instance of the EnvelopedData class.
Declaration
public EnvelopedData(int version, IReadOnlyList<RecipientInfo> recipientInfos, EncryptedContentInfo encryptedContentInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | version | |
| IReadOnlyList<RecipientInfo> | recipientInfos | |
| EncryptedContentInfo | encryptedContentInfo |
Properties
View SourceEncryptedContentInfo
Gets the encrypted content info.
Declaration
public EncryptedContentInfo EncryptedContentInfo { get; }
Property Value
| Type | Description |
|---|---|
| EncryptedContentInfo |
RecipientInfos
Gets the recipient information (one per recipient).
Declaration
public IReadOnlyList<RecipientInfo> RecipientInfos { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<RecipientInfo> |
Version
Gets the CMS version.
Declaration
public int Version { get; }
Property Value
| Type | Description |
|---|---|
| int |