1gnutls_certificate_set_openpgp_key_figglnneuu(tt3ll)ss_certificate_set_openpgp_key_file(3)
2
3
4
6 gnutls_certificate_set_openpgp_key_file - Used to set OpenPGP keys
7
9 #include <gnutls/extra.h>
10
11 int gnutls_certificate_set_openpgp_key_file(gnutls_certificate_creden‐
12 tials_t res, const char * certfile, const char * keyfile);
13
15 gnutls_certificate_credentials_t res
16 the destination context to save the data.
17
18 const char * certfile
19 the file that contains the public key.
20
21 const char * keyfile
22 the file that contains the secret key.
23
25 This funtion is used to load OpenPGP keys into the GnuTLS credentials
26 structure. It doesn't matter whether the keys are armored or but, but
27 the files should only contain one key which should not be encrypted.
28
30 Report bugs to <bug-gnutls@gnu.org>.
31
33 Copyright © 2006 Free Software Foundation.
34 Permission is granted to make and distribute verbatim copies of this
35 manual provided the copyright notice and this permission notice are
36 preserved on all copies.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls g1n.u6t.l3s_certificate_set_openpgp_key_file(3)