1gnutls_pem_base64_decode_alloc(3)   gnutls   gnutls_pem_base64_decode_alloc(3)
2
3
4

NAME

6       gnutls_pem_base64_decode_alloc  -  This  function  will  decode  base64
7       encoded data
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       int   gnutls_pem_base64_decode_alloc(const   char   *   header,   const
13       gnutls_datum_t * b64_data, gnutls_datum_t * result);
14

ARGUMENTS

16       const char * header
17                   The PEM header (eg. CERTIFICATE)
18
19       const gnutls_datum_t * b64_data
20                   contains the encoded data
21
22       gnutls_datum_t * result
23                   the place where decoded data lie
24

DESCRIPTION

26       This function will decode the given encoded data. The decoded data will
27       be allocated, and stored into result.  If the header given is non  null
28       this  function will search for "-----BEGIN header" and decode only this
29       part. Otherwise it will decode the first PEM packet found.
30
31       You should use gnutls_free() to free the returned data.
32

REPORTING BUGS

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

SEE ALSO

43       The full documentation for gnutls is maintained as  a  Texinfo  manual.
44       If  the  info  and gnutls programs are properly installed at your site,
45       the command
46
47              info gnutls
48
49       should give you access to the complete manual.
50
51
52
53gnutls                               1.6.3   gnutls_pem_base64_decode_alloc(3)
Impressum