[openssl-users] Verifying Authenticode timestamp using openssl apis
matt at openssl.org
Tue Nov 24 09:30:41 UTC 2015
On 24/11/15 05:17, Leena Soman wrote:
> I am trying to verify the timestamp in a file signed using Authenticode.
> I have found that this timestamp is in the RFC3161 format.
> Using openssl apis, I have parsed the Authenticode signature and reached
> the oid 126.96.36.199.4.1.3188.8.131.52. I have subsequently used the following apis :
Am I right in understanding that you are attempting to use the OpenSSL
ASN.1 APIs to parse an RFC3161 response?
Did you realise that OpenSSL has APIs that support RFC3161 directly? See
opensssl/ts.h as well as the "openssl ts" command line app.
More information about the openssl-users