1gnutls_pkcs12_bag_decrypt(3) gnutls gnutls_pkcs12_bag_decrypt(3)
2
3
4
6 gnutls_pkcs12_bag_decrypt - This function will decrypt an encrypted bag
7
9 #include <gnutls/pkcs12.h>
10
11 int gnutls_pkcs12_bag_decrypt(gnutls_pkcs12_bag_t bag, const char *
12 pass);
13
15 gnutls_pkcs12_bag_t bag
16 The bag
17
18 const char * pass
19 The password used for encryption. This can only be ASCII.
20
22 This function will decrypt the given encrypted bag and return 0 on suc‐
23 cess.
24
26 Report bugs to <bug-gnutls@gnu.org>.
27
29 Copyright © 2006 Free Software Foundation.
30 Permission is granted to make and distribute verbatim copies of this
31 manual provided the copyright notice and this permission notice are
32 preserved on all copies.
33
35 The full documentation for gnutls is maintained as a Texinfo manual.
36 If the info and gnutls programs are properly installed at your site,
37 the command
38
39 info gnutls
40
41 should give you access to the complete manual.
42
43
44
45gnutls 1.6.3 gnutls_pkcs12_bag_decrypt(3)