1gnutls_pkcs12_bag_encrypt(3) gnutls gnutls_pkcs12_bag_encrypt(3)
2
3
4
6 gnutls_pkcs12_bag_encrypt - This function will encrypt a bag
7
9 #include <gnutls/pkcs12.h>
10
11 int gnutls_pkcs12_bag_encrypt(gnutls_pkcs12_bag_t bag, const char *
12 pass, unsigned int flags);
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
21 unsigned int flags
22 should be one of gnutls_pkcs_encrypt_flags_t elements bit‐
23 wise or'd
24
26 This function will encrypt the given bag and return 0 on success.
27
29 Report bugs to <bug-gnutls@gnu.org>.
30
32 Copyright © 2006 Free Software Foundation.
33 Permission is granted to make and distribute verbatim copies of this
34 manual provided the copyright notice and this permission notice are
35 preserved on all copies.
36
38 The full documentation for gnutls is maintained as a Texinfo manual.
39 If the info and gnutls programs are properly installed at your site,
40 the command
41
42 info gnutls
43
44 should give you access to the complete manual.
45
46
47
48gnutls 1.6.3 gnutls_pkcs12_bag_encrypt(3)