
Improves support and management of digital signatures.
Features
- Added 'SignaturePolicy' class to manage changes to the digital signature validation policy used in the BFO PDF Library.
- Added support for GlobalSign's new Qualified Signing Service, and added a 'setCustomAppearance()' method to set custom visuals for them.
- 'FormSignature.verify()' can no longer deadlock while running simultaneously to 'OutputProfiler.apply()'. Progress in 'verify()' can now be controlled with the new 'FormSignature.cancelVerify()' and 'FormSignature.isVerifying()' methods.
- The size of the signature is now calculated.
- A list of preloaded OCSP responses and CRLs can now be supplied to avoid the need to download them from the network when they're required.
- The float formatter has been rewritten to improve precision of least significant figures when writing numbers to a PDF, while still running 16x faster than DecimalFormat.
- Repurposed the deprecated 'OutputProfile.Feature.PurgeResources' to allow it to remove unreferenced resources from within a page.
- Added 'OutputProfiler.RemoveSignatures' strategy to remove, rather than flatten, signatures when the 'OutputProfiler.apply' method requires it.
- Made some minor adjustments to the PDF/UA-1 profile to more closely follow the specification.
- Made some minor tweaks to the API to make offline signing simpler.
- Optimized 'getArlingtonModelIssues()' to improve speed by about 25%. Updated model to latest version.
- The PKCS7SignatureHandler.SigningEngine now has two new methods to implement: 'getOCSPSResponses()' and 'getCRLs()'.