RecipientCert Property
The certificate used for encryption.
Syntax
[VB.NET] Public Property RecipientCert As Certificate
[C#] public Certificate RecipientCert {get; set;}
Remarks
This property specifies a certificate for encryption.
This may be set instead of RecipientKey. This allows a Certificate object to be used instead of a RSAKey object. This certificate is used when calling Encrypt.
If both this property and RecipientKey are specified, RecipientKey will be used and this property will be ignored.