Rediger

Del via


CmsRecipientCollection Constructors

Definition

Creates an instance of the CmsRecipientCollection class.

Overloads

CmsRecipientCollection()

The CmsRecipientCollection() constructor creates an instance of the CmsRecipientCollection class.

CmsRecipientCollection(CmsRecipient)

The CmsRecipientCollection(CmsRecipient) constructor creates an instance of the CmsRecipientCollection class and adds the specified recipient.

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

The CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) constructor creates an instance of the CmsRecipientCollection class and adds recipients based on the specified subject identifier and set of certificates that identify the recipients.

CmsRecipientCollection()

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs

The CmsRecipientCollection() constructor creates an instance of the CmsRecipientCollection class.

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

See also

Applies to

CmsRecipientCollection(CmsRecipient)

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs

The CmsRecipientCollection(CmsRecipient) constructor creates an instance of the CmsRecipientCollection class and adds the specified recipient.

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)

Parameters

recipient
CmsRecipient

An instance of the CmsRecipient class that represents the specified CMS/PKCS #7 recipient.

See also

Applies to

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs

The CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) constructor creates an instance of the CmsRecipientCollection class and adds recipients based on the specified subject identifier and set of certificates that identify the recipients.

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)

Parameters

recipientIdentifierType
SubjectIdentifierType

A member of the SubjectIdentifierType enumeration that specifies the type of subject identifier.

certificates
X509Certificate2Collection

An X509Certificate2Collection collection that contains the certificates that identify the recipients.

See also

Applies to