EnvelopedCms.RecipientInfos Property

Definition

Gets a collection that represents the recipients list for a decoded message. The default value is an empty collection.

public:
 property System::Security::Cryptography::Pkcs::RecipientInfoCollection ^ RecipientInfos { System::Security::Cryptography::Pkcs::RecipientInfoCollection ^ get(); };
public System.Security.Cryptography.Pkcs.RecipientInfoCollection RecipientInfos { get; }
member this.RecipientInfos : System.Security.Cryptography.Pkcs.RecipientInfoCollection
Public ReadOnly Property RecipientInfos As RecipientInfoCollection

Property Value

RecipientInfoCollection

A collection that represents the recipients list for a decoded message. The default value is an empty collection.

Remarks

Although this property is read-only, a modification to the RecipientInfo objects in the RecipientInfoCollection can be done by using their properties.

The RecipientInfos property is not populated as a result of calling the EnvelopedCms.Encode method nor any of the overloaded EnvelopedCms.Encrypt methods.

The value of this property is replaced with a different collection object during a call to Decode, which then represents the certificates that were read out of the decoded message.

Applies to