Is there a way to detect if a PDF was signed by OneSpan Sign?
Wednesday, April 8, 2020 at 01:43pmIf we have a common document storage for all sorts of PDF documents, is there a way for a program to inspect a PDF to determine it was signed using OneSpan Sign, and not just a PDF from other sources.
Reply to: Is there a way to detect if a PDF was signed by OneSpan Sign?
Wednesday, April 8, 2020 at 03:21pmHi King,
There are many open sourced libraries out there for detect whether a PDF is digital signed or not. Take iText (with Java) for example, if you just need to validate whether a PDF has been signed, this code share in StackOverflow should be enough (using iText5), if you want to distinguish whether the certificate sealed in the signature is from OneSpan Sign, you'd need more complex code, like this code share, using iText7.
Duo