1gnutls_certificate_set_openpgp_key(3)gnutlsgnutls_certificate_set_openpgp_key(3)
2
3
4
6 gnutls_certificate_set_openpgp_key - Used to set keys in a gnutls_cer‐
7 tificate_credentials_t structure
8
10 #include <gnutls/extra.h>
11
12 int gnutls_certificate_set_openpgp_key(gnutls_certificate_credentials_t
13 res, gnutls_openpgp_key_t key, gnutls_openpgp_privkey_t pkey);
14
16 gnutls_certificate_credentials_t res
17 is an gnutls_certificate_credentials_t structure.
18
19 gnutls_openpgp_key_t key
20 contains an openpgp public key
21
22 gnutls_openpgp_privkey_t pkey
23 is an openpgp private key
24
26 This function sets a certificate/private key pair in the gnutls_cer‐
27 tificate_credentials_t structure. This function may be called more than
28 once (in case multiple keys/certificates exist for the server).
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 1.6.3gnutls_certificate_set_openpgp_key(3)