CmsRecipient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The CmsRecipient class defines the recipient of a CMS/PKCS #7 message.
public ref class CmsRecipient sealed
public sealed class CmsRecipient
type CmsRecipient = class
Public NotInheritable Class CmsRecipient
- Inheritance
-
CmsRecipient
Constructors
CmsRecipient(SubjectIdentifierType, X509Certificate2) |
Initializes a new instance of the CmsRecipient class with a specified certificate and recipient identifier type, using the default encryption mode for the public key algorithm. |
CmsRecipient(SubjectIdentifierType, X509Certificate2, RSAEncryptionPadding) |
Initializes a new instance of the CmsRecipient class with a specified RSA certificate, RSA encryption padding, and subject identifier. |
CmsRecipient(X509Certificate2) |
Initializes a new instance of the CmsRecipient class with a specified certificate, using the default encryption mode for the public key algorithm and an IssuerAndSerialNumber subject identifier. |
CmsRecipient(X509Certificate2, RSAEncryptionPadding) |
Initializes a new instance of the CmsRecipient class with a specified RSA certificate and RSA encryption padding, using an IssuerAndSerialNumber subject identifier. |
Properties
Certificate |
Gets the certificate to use when encrypting for this recipient. |
RecipientIdentifierType |
Gets the scheme to use for identifying which recipient certificate was used. |
RSAEncryptionPadding |
Gets the RSA encryption padding to use when encrypting for this recipient. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre