1gnutls_certificate_set_openpgp_keygrniungtgnl_usmt_elcmse(r3t)ificate_set_openpgp_keyring_mem(3)
2
3
4
6 gnutls_certificate_set_openpgp_keyring_mem - API function
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_certificate_set_openpgp_keyring_mem(gnutls_certificate_cre‐
12 dentials_t c, const opaque
13 * data, size_t dlen, gnutls_openpgp_crt_fmt_t format);
14
16 gnutls_certificate_credentials_t
17 c
18 A certificate credentials structure
19
20 const opaque * data
21 buffer with keyring data.
22
23 size_t dlen length of data buffer.
24
25 gnutls_openpgp_crt_fmt_t format
26 the format of the keyring
27
29 The function is used to set keyrings that will be used internally by
30 various OpenPGP functions. For example to find a key when it is needed
31 for an operations. The keyring will also be used at the verification
32 functions.
33
35 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
36 value.
37
39 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
40 http://www.gnu.org/software/gnutls/ General help using GNU software:
41 http://www.gnu.org/gethelp/
42
44 Copyright © 2008 Free Software Foundation.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the info and gnutls programs are properly installed at your site,
52 the command
53
54 info gnutls
55
56 should give you access to the complete manual.
57
58
59
60gnutls gn2u.t1l2s._6c.e1rtificate_set_openpgp_keyring_mem(3)