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
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.
Gets the certificate to use when encrypting for this recipient.
Gets the scheme to use for identifying which recipient certificate was used.
Gets the RSA encryption padding to use when encrypting for this recipient.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)