EnvelopedCms.RecipientInfos 属性

定义

获取一个集合,该集合表示解码的消息的收件人列表。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

属性值

一个集合,该集合表示已解码消息的收件人列表。A collection that represents the recipients list for a decoded message. 默认值为空集合。The default value is an empty collection.

注解

尽管此属性是只读的,但可以使用其属性对 RecipientInfoCollection 中的 RecipientInfo 对象进行修改。Although this property is read-only, a modification to the RecipientInfo objects in the RecipientInfoCollection can be done by using their properties.

调用 EnvelopedCms.Encode 方法或任何 EnvelopedCms 重载方法时,不会填充 RecipientInfos 属性。The RecipientInfos property is not populated as a result of calling the EnvelopedCms.Encode method nor any of the overloaded EnvelopedCms.Encrypt methods.

在对 Decode的调用期间,此属性的值将替换为不同的集合对象,该集合表示已解码的消息的读取证书。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.

适用于