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

NAME

6       gnutls_openpgp_privkey_import - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

32       This  function  will convert the given RAW or Base64 encoded key to the
33       native gnutls_openpgp_privkey_t format.  The output will be  stored  in
34       'key'.
35

RETURNS

37       GNUTLS_E_SUCCESS on success, or an error code.
38

REPORTING BUGS

40       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
41       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
42       http://www.gnu.org/gethelp/
43
45       Copyright © 2008 Free Software Foundation.
46       Copying  and  distribution  of this file, with or without modification,
47       are permitted in any medium  without  royalty  provided  the  copyright
48       notice and this notice are preserved.
49

SEE ALSO

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