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
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs

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

C#
public CmsRecipientCollection();

See also

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

CmsRecipientCollection(CmsRecipient)

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

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

C#
public CmsRecipientCollection(System.Security.Cryptography.Pkcs.CmsRecipient recipient);

Parameters

recipient
CmsRecipient

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

See also

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)

Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
Source:
CmsRecipientCollection.cs
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.

C#
public CmsRecipientCollection(System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates);

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

.NET 10 (package-provided) et autres versions
Produit Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10