CmsRecipientCollection 构造函数

定义

创建 CmsRecipientCollection 类的实例。

重载

CmsRecipientCollection()

CmsRecipientCollection() 构造函数创建 CmsRecipientCollection 类的实例。

CmsRecipientCollection(CmsRecipient)

CmsRecipientCollection(CmsRecipient) 构造函数创建 CmsRecipientCollection 类的实例并添加指定的收件人。

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) 构造函数创建 CmsRecipientCollection 类的实例并根据指定的主题标识符和标识收件人的证书集添加收件人。

CmsRecipientCollection()

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs

CmsRecipientCollection() 构造函数创建 CmsRecipientCollection 类的实例。

public:
 CmsRecipientCollection();
public CmsRecipientCollection ();
Public Sub New ()

另请参阅

适用于

CmsRecipientCollection(CmsRecipient)

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs

CmsRecipientCollection(CmsRecipient) 构造函数创建 CmsRecipientCollection 类的实例并添加指定的收件人。

public:
 CmsRecipientCollection(System::Security::Cryptography::Pkcs::CmsRecipient ^ recipient);
public CmsRecipientCollection (System.Security.Cryptography.Pkcs.CmsRecipient recipient);
new System.Security.Cryptography.Pkcs.CmsRecipientCollection : System.Security.Cryptography.Pkcs.CmsRecipient -> System.Security.Cryptography.Pkcs.CmsRecipientCollection
Public Sub New (recipient As CmsRecipient)

参数

recipient
CmsRecipient

表示指定的 CMS/PKCS #7 收件人的 CmsRecipient 类的一个实例。

另请参阅

适用于

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) 构造函数创建 CmsRecipientCollection 类的实例并根据指定的主题标识符和标识收件人的证书集添加收件人。

public:
 CmsRecipientCollection(System::Security::Cryptography::Pkcs::SubjectIdentifierType recipientIdentifierType, System::Security::Cryptography::X509Certificates::X509Certificate2Collection ^ certificates);
public CmsRecipientCollection (System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates);
new System.Security.Cryptography.Pkcs.CmsRecipientCollection : System.Security.Cryptography.Pkcs.SubjectIdentifierType * System.Security.Cryptography.X509Certificates.X509Certificate2Collection -> System.Security.Cryptography.Pkcs.CmsRecipientCollection
Public Sub New (recipientIdentifierType As SubjectIdentifierType, certificates As X509Certificate2Collection)

参数

recipientIdentifierType
SubjectIdentifierType

指定主题标识符类型的 SubjectIdentifierType 枚举的成员。

certificates
X509Certificate2Collection

一个 X509Certificate2Collection 集合,其中包含标识收件人的证书。

另请参阅

适用于