1gnutls_openpgp_keyring_import(3) gnutls gnutls_openpgp_keyring_import(3)
2
3
4
6 gnutls_openpgp_keyring_import - This function will import a RAW or
7 BASE64 encoded key
8
10 #include <gnutls/openpgp.h>
11
12 int gnutls_openpgp_keyring_import(gnutls_openpgp_keyring_t keyring,
13 const gnutls_datum_t * data, gnutls_openpgp_key_fmt_t format);
14
16 gnutls_openpgp_keyring_t keyring
17 The structure to store the parsed key.
18
19 const gnutls_datum_t * data
20 The RAW or BASE64 encoded keyring.
21
22 gnutls_openpgp_key_fmt_t format
23 One of gnutls_openpgp_keyring_fmt elements.
24
26 This function will convert the given RAW or Base64 encoded keyring to
27 the native gnutls_openpgp_keyring_t format. The output will be stored
28 in 'keyring'.
29
30 Returns 0 on success.
31
33 Report bugs to <bug-gnutls@gnu.org>.
34
36 Copyright © 2006 Free Software Foundation.
37 Permission is granted to make and distribute verbatim copies of this
38 manual provided the copyright notice and this permission notice are
39 preserved on all copies.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the info and gnutls programs are properly installed at your site,
44 the command
45
46 info gnutls
47
48 should give you access to the complete manual.
49
50
51
52gnutls 1.6.3 gnutls_openpgp_keyring_import(3)