RecipientCert Property
The certificate used for encryption.
Syntax
public Certificate getRecipientCert(); public void setRecipientCert(Certificate recipientCert);
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.