RecipientCert Property
The encryption certificate of the recipient.
Syntax
public Certificate RecipientCert { get; set; }
Public Property RecipientCert As Certificate
Remarks
The encryption certificate of the recipient. If this property is specified, the message content will be encrypted using the algorithm given by EncryptingAlgorithm.
This property will also be used to verifying signed receipts if ReceiptSignerCert is not specified. If your trading partner uses different certificates for signing and encryption, you should set RecipientCert to the encryption certificate and ReceiptSignerCert to the signing certificate.
If the component is unable to verify a signature make sure RecipientCert is set appropriately.
If set, this property should be a public key instance of Certificate.