1gnutls_openpgp_set_recv_key_function(g3n)utglnsutls_openpgp_set_recv_key_function(3)
2
3
4
6 gnutls_openpgp_set_recv_key_function - API function
7
9 #include <gnutls/openpgp.h>
10
11 void gnutls_openpgp_set_recv_key_function(gnutls_session_t session,
12 gnutls_openpgp_recv_key_func func);
13
15 gnutls_session_t session
16 a TLS session
17
18 gnutls_openpgp_recv_key_func func
19 the callback
20
22 This funtion will set a key retrieval function for OpenPGP keys. This
23 callback is only useful in server side, and will be used if the peer
24 sent a key fingerprint instead of a full key.
25
26 The retrieved key must be allocated using gnutls_malloc().
27
29 Report bugs to <bugs@gnutls.org>.
30 Home page: http://www.gnutls.org
31
32
34 Copyright © 2001-2014 Free Software Foundation, Inc..
35 Copying and distribution of this file, with or without modification,
36 are permitted in any medium without royalty provided the copyright
37 notice and this notice are preserved.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
42 visit
43
44 http://www.gnutls.org/manual/
45
46gnutls 3.3.g2n9utls_openpgp_set_recv_key_function(3)