summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_pkcs12_bag_init
blob: 05f75572c74d5f787cc576f3f370f0fdfc41d31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@deftypefun {int} {gnutls_pkcs12_bag_init} (gnutls_pkcs12_bag_t * @var{bag})
@var{bag}: A pointer to the type to be initialized

This function will initialize a PKCS12 bag structure. PKCS12 Bags
usually contain private keys, lists of X.509 Certificates and X.509
Certificate revocation lists.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.
@end deftypefun