1gnutls_pkcs12_get_bag(3)            gnutls            gnutls_pkcs12_get_bag(3)
2
3
4

NAME

6       gnutls_pkcs12_get_bag  -  This  function  returns  a  Bag from a PKCS12
7       structure
8

SYNOPSIS

10       #include <gnutls/pkcs12.h>
11
12       int    gnutls_pkcs12_get_bag(gnutls_pkcs12_t    pkcs12,    int    indx,
13       gnutls_pkcs12_bag_t bag);
14

ARGUMENTS

16       gnutls_pkcs12_t pkcs12
17                   should contain a gnutls_pkcs12_t structure
18
19       int indx    contains the index of the bag to extract
20
21       gnutls_pkcs12_bag_t bag
22                   An  initialized  bag, where the contents of the bag will be
23                   copied
24

DESCRIPTION

26       This function will return a Bag from the PKCS12 structure.   Returns  0
27       on success.
28
29       After  the last Bag has been read GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE
30       will be returned.
31

REPORTING BUGS

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

SEE ALSO

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_pkcs12_get_bag(3)
Impressum