[PATCH] Provide a gnutls_x509_crt_verify_hash

Cedric BAIL moa.bluebugs at gmail.com
Wed Mar 25 19:16:10 CET 2009


Hi,

   I am currently using gnutls_x509_crt_verify_data to check the
signature of a file generated with a GNUTLS_DIG_SHA1. After that I
compare the SHA1 of the file in a database. So with the current API I
wasn't able to find a way to do SHA1 computation only one time.
   I finally decided to implement gnutls_x509_crt_get_hash_algorithm
and gnutls_x509_crt_verify_hash for this usecase on top of
gnutls-2.7.6. So as I would like to solve this case in mainline, I
would appreciate any comment to work on this goal.

Thanks,
-- 
Cedric BAIL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnutls-less-sha1.diff
Type: text/x-diff
Size: 10412 bytes
Desc: not available
URL: </pipermail/attachments/20090325/545e3d1c/attachment.diff>


More information about the Gnutls-devel mailing list