You could try to use the saveIncremental call that takes a dictionary
list as parameter, and to add the metadata dictionary there. But I don't
know if Adobe will complain.
Tilman
On 30.03.2023 16:34, Alberto Malvido wrote:
Hi,
Is there any way to add metadata to a signed document without breaking the
digital signature? If so, could you please point me to the right way to do
it?
The digital signature is performed with the following filter and subfilter:
- signature.setFilter(PDSignature.FILTER_ADOBE_PPKLITE);
- signature.setSubFilter(PDSignature.SUBFILTER_ADBE_PKCS7_DETACHED);
Thank you so much,
Alberto
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org