Debian Codegraph @

doc/functions/gnutls_pkcs12_generate_mac2

raw
1
2
3
4
5 @deftypefun {int} {gnutls_pkcs12_generate_mac2} (gnutls_pkcs12_t @var{pkcs12}, gnutls_mac_algorithm_t @var{mac}, const char * @var{pass})
6 @var{pkcs12}: A pkcs12 type
7
8 @var{mac}: the MAC algorithm to use
9
10 @var{pass}: The password for the MAC
11
12 This function will generate a MAC for the PKCS12 structure.
13
14 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
15 negative error value.
16 @end deftypefun