keepInvalidSignatures property
Keeps the signature fields of the source, with CMS and certificates.
Merging rewrites the whole file, so every existing signature stops checking out: viewers will report them as invalid. This is the behavior of SEI and of most tools on the market.
Implementation
final bool keepInvalidSignatures;