1gnutls_pkcs12_import(3)             gnutls             gnutls_pkcs12_import(3)
2
3
4

NAME

6       gnutls_pkcs12_import  -  This function will import a DER or PEM encoded
7       PKCS12 structure
8

SYNOPSIS

10       #include <gnutls/pkcs12.h>
11
12       int gnutls_pkcs12_import(gnutls_pkcs12_t pkcs12, const gnutls_datum_t *
13       data, gnutls_x509_crt_fmt_t format, unsigned int flags);
14

ARGUMENTS

16       gnutls_pkcs12_t pkcs12
17                   The structure to store the parsed PKCS12.
18
19       const gnutls_datum_t * data
20                   The DER or PEM encoded PKCS12.
21
22       gnutls_x509_crt_fmt_t format
23                   One of DER or PEM
24
25       unsigned int flags
26                   an ORed sequence of gnutls_privkey_pkcs8_flags
27

DESCRIPTION

29       This  function  will convert the given DER or PEM encoded PKCS12 to the
30       native gnutls_pkcs12_t format. The output will be stored in 'pkcs12'.
31
32       If the PKCS12 is PEM encoded it should have a header of "PKCS12".
33
34       Returns 0 on success.
35

REPORTING BUGS

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

SEE ALSO

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