共用方式為


CmsRecipientCollection 建構函式

定義

建立 CmsRecipientCollection 類別的執行個體。

多載

CmsRecipientCollection()

CmsRecipientCollection() 建構函式會建立 CmsRecipientCollection 類別的執行個體。

CmsRecipientCollection(CmsRecipient)

CmsRecipientCollection(CmsRecipient) 建構函式會建立 CmsRecipientCollection 類別的執行個體,並加入指定的收件者。

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) 建構函式會建立 CmsRecipientCollection 類別的執行個體,並根據指定的主旨識別項和識別收件者的憑證組來加入收件者。

CmsRecipientCollection()

CmsRecipientCollection() 建構函式會建立 CmsRecipientCollection 類別的執行個體。

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

另請參閱

適用於

CmsRecipientCollection(CmsRecipient)

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

CmsRecipient 類別的執行個體,表示指定的 CMS/PKCS #7 收件者。

另請參閱

適用於

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

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 集合,包含識別收件者的憑證。

另請參閱

適用於