EncryptionCertificate Property
The certificate to use for encryption.
Syntax
public Certificate EncryptionCertificate { get; set; }
Public Property EncryptionCertificate As Certificate
Remarks
Use this property to specify the certificate to be used for encryption. This is a "recipient's" certificate, and as such it does not need to have an associated private key.
If the certificate is provided, an output message of EnvelopedData type will be created. The private key corresponding to the encryption certificate will be needed to decrypt it.
This property is not available at design time.