1gnutls_x509_crt_get_verify_algorithm(g3n)utglnsutls_x509_crt_get_verify_algorithm(3)
2
3
4
6 gnutls_x509_crt_get_verify_algorithm - API function
7
9 #include <gnutls/compat.h>
10
11 int gnutls_x509_crt_get_verify_algorithm(gnutls_x509_crt_t crt, const
12 gnutls_datum_t * signature, gnutls_digest_algorithm_t * hash);
13
15 gnutls_x509_crt_t crt
16 Holds the certificate
17
18 const gnutls_datum_t * signature
19 contains the signature
20
21 gnutls_digest_algorithm_t * hash
22 The result of the call with the hash algorithm used for
23 signature
24
26 This function will read the certifcate and the signed data to determine
27 the hash algorithm used to generate the signature.
28
30 Use gnutls_pubkey_get_verify_algorithm() instead.
31
33 the 0 if the hash algorithm is found. A negative error code is returned
34 on error.
35
37 2.8.0
38
40 Report bugs to <bugs@gnutls.org>.
41 Home page: http://www.gnutls.org
42
43
45 Copyright © 2001-2014 Free Software Foundation, Inc..
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
53 visit
54
55 http://www.gnutls.org/manual/
56
57gnutls 3.3.g2n9utls_x509_crt_get_verify_algorithm(3)