keepInvalidSignatures property
Keeps the signature fields with CMS and certificates.
The signatures stay in the file, but they no longer check out: they cover the exact bytes of the document they were applied to. Meant for forensics and history, not for validation.
Implementation
final bool keepInvalidSignatures;