On Tue, 2022-12-27 at 12:53 +0800, Alex wrote: > I can read the signature of PDF file by podofo, now I want to > parse the signature value to get the certificate and key,but I don't > know how to parse it and didn't find useful information,does someone > knows how to parse ASN.1 by using openssl.
Hi, check out tools/podofosign/, there is read a certificate from a file, in a PEM format. There are similar functions for other formats, including a DER format, in OpenSSL. In any case, this list is for PoDoFo, not for OpenSSL. You get better ask in their forum/mailing list/..., or try Google or DuckDuckGo or similar web search tools to find an answer. Bye, zyx _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users