CmsRecipientCollection 构造函数

定义

创建 CmsRecipientCollection 类的实例。

重载

名称 说明
CmsRecipientCollection()

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

CmsRecipientCollection(CmsRecipient)

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

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

构造 CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) 函数创建类的 CmsRecipientCollection 实例,并基于指定的使用者标识符和标识收件人的证书集添加收件人。

CmsRecipientCollection()

CmsRecipientCollection(CmsRecipient)

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
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
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
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 标识收件人的证书的集合。

另请参阅

适用于