CmsRecipientCollection Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en instans av CmsRecipientCollection klassen.
Överlagringar
| Name | Description |
|---|---|
| CmsRecipientCollection() |
Konstruktorn CmsRecipientCollection() skapar en instans av CmsRecipientCollection klassen. |
| CmsRecipientCollection(CmsRecipient) |
Konstruktorn CmsRecipientCollection(CmsRecipient) skapar en instans av CmsRecipientCollection klassen och lägger till den angivna mottagaren. |
| CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) |
Konstruktorn CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) skapar en instans av CmsRecipientCollection klassen och lägger till mottagare baserat på den angivna ämnesidentifieraren och uppsättningen certifikat som identifierar mottagarna. |
CmsRecipientCollection()
Konstruktorn CmsRecipientCollection() skapar en instans av CmsRecipientCollection klassen.
public:
CmsRecipientCollection();
public CmsRecipientCollection();
Public Sub New ()
Se även
- CmsRecipientCollection(CmsRecipient)
- CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)
Gäller för
CmsRecipientCollection(CmsRecipient)
Konstruktorn CmsRecipientCollection(CmsRecipient) skapar en instans av CmsRecipientCollection klassen och lägger till den angivna mottagaren.
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)
Parametrar
- recipient
- CmsRecipient
En instans av CmsRecipient klassen som representerar den angivna CMS/PKCS #7-mottagaren.
Se även
Gäller för
CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection)
Konstruktorn CmsRecipientCollection(SubjectIdentifierType, X509Certificate2Collection) skapar en instans av CmsRecipientCollection klassen och lägger till mottagare baserat på den angivna ämnesidentifieraren och uppsättningen certifikat som identifierar mottagarna.
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)
Parametrar
- recipientIdentifierType
- SubjectIdentifierType
En medlem i SubjectIdentifierType uppräkningen som anger typen av ämnesidentifierare.
- certificates
- X509Certificate2Collection
En X509Certificate2Collection samling som innehåller de certifikat som identifierar mottagarna.