[openssl-users] Verifying a signature - format problems

Richard Moore richmoore44 at gmail.com
Fri Jul 24 15:55:46 UTC 2015


On 24 July 2015 at 13:32, Andrew Carpenter <andrewcarp at gmail.com> wrote:

>     So my question is: What format should the signature file be in?
> base64? DER? PKCS7? raw binary?  Specifically I am talking about the
> function EVP_DigestVerifyFinal(), What format should the *sig parameter be
> in?  The DiestVerifyInit and DigestVerifyUpdate are working with no errors,
> so I have narrowed it down to this function.
> Thanks,
>
>
​You might find this change I've recently written for Qt useful:
https://codereview.qt-project.org/#/c/113855/
It implements exactly this and has lots of test cases.

Cheers

Rich.
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150724/6ac2e092/attachment.html>


More information about the openssl-users mailing list