1gnutls_tdb_set_store_commitment_func(g3n)utglnsutls_tdb_set_store_commitment_func(3)
2
3
4
6 gnutls_tdb_set_store_commitment_func - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_tdb_set_store_commitment_func(gnutls_tdb_t tdb,
12 gnutls_tdb_store_commitment_func cstore);
13
15 gnutls_tdb_t tdb
16 The trust storage
17
18 gnutls_tdb_store_commitment_func cstore
19 The commitment storage function
20
22 This function will associate a commitment (hash) storage function with
23 the trust storage structure. The function is of the following form.
24
25 int gnutls_tdb_store_commitment_func(const char* db_name, const char*
26 host, const char* service, time_t expiration, gnutls_digest_algo‐
27 rithm_t, const gnutls_datum_t* hash);
28
29 The db_name should be used to pass any private data to this function.
30
32 Report bugs to <bugs@gnutls.org>.
33 Home page: https://www.gnutls.org
34
35
37 Copyright © 2001- Free Software Foundation, Inc., and others.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright no‐
40 tice and this notice are preserved.
41
43 The full documentation for gnutls is maintained as a Texinfo manual.
44 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
45 visit
46
47 https://www.gnutls.org/manual/
48
49gnutls 3.7g.n2utls_tdb_set_store_commitment_func(3)