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