1gnutls_x509_crt_get_verify_algorithm(g3n)utglnsutls_x509_crt_get_verify_algorithm(3)
2
3
4
6 gnutls_x509_crt_get_verify_algorithm - get hash algorithm used to ver‐
7 ify signature.
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_get_verify_algorithm(gnutls_x509_crt_t crt, const
13 gnutls_datum_t * signature, gnutls_digest_algorithm_t * hash);
14
16 gnutls_x509_crt_t crt
17 Holds the certificate
18
19 const gnutls_datum_t * signature
20 contains the signature
21
22 gnutls_digest_algorithm_t * hash
23 The result of the call with the hash algorithm used for
24 signature
25
27 This function will read the certifcate and the signed data to determine
28 the hash algorithm used to generate the signature.
29
31 the 0 if the hash algorithm is found. A negative value is returned on
32 error.
33
35 2.8.0
36
38 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
39 http://www.gnu.org/software/gnutls/ General help using GNU software:
40 http://www.gnu.org/gethelp/
41
43 Copyright © 2008 Free Software Foundation.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the info and gnutls programs are properly installed at your site,
51 the command
52
53 info gnutls
54
55 should give you access to the complete manual.
56
57
58
59gnutls 2.8g.n6utls_x509_crt_get_verify_algorithm(3)