RecipientCert Property

The encryption certificate of the recipient.

Syntax

public Certificate getRecipientCert();
public void setRecipientCert(Certificate recipientCert);

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 class is unable to verify a signature make sure RecipientCert is set appropriately.

If set, this property should be a public key instance of Certificate.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8203]