1gnutls_openpgp_privkey_import(3)    gnutls    gnutls_openpgp_privkey_import(3)
2
3
4

NAME

6       gnutls_openpgp_privkey_import  -  This  function  will  import a RAW or
7       BASE64 encoded key
8

SYNOPSIS

10       #include <gnutls/openpgp.h>
11
12       int gnutls_openpgp_privkey_import(gnutls_openpgp_privkey_t  key,  const
13       gnutls_datum_t  *  data,  gnutls_openpgp_key_fmt_t format, const char *
14       pass, unsigned int flags);
15

ARGUMENTS

17       gnutls_openpgp_privkey_t key
18                   The structure to store the parsed key.
19
20       const gnutls_datum_t * data
21                   The RAW or BASE64 encoded key.
22
23       gnutls_openpgp_key_fmt_t format
24                   One of gnutls_openpgp_key_fmt_t elements.
25
26       const char * pass
27                   Unused for now
28
29       unsigned int flags
30                   should be zero
31

DESCRIPTION

33       This function will convert the given RAW or Base64 encoded key  to  the
34       native  gnutls_openpgp_privkey_t  format.  The output will be stored in
35       'key'.
36
37       Returns 0 on success.
38

REPORTING BUGS

40       Report bugs to <bug-gnutls@gnu.org>.
41
43       Copyright © 2006 Free Software Foundation.
44       Permission is granted to make and distribute verbatim  copies  of  this
45       manual  provided  the  copyright  notice and this permission notice are
46       preserved on all copies.
47

SEE ALSO

49       The full documentation for gnutls is maintained as  a  Texinfo  manual.
50       If  the  info  and gnutls programs are properly installed at your site,
51       the command
52
53              info gnutls
54
55       should give you access to the complete manual.
56
57
58
59gnutls                               1.6.3    gnutls_openpgp_privkey_import(3)
Impressum