summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_pkcs12_verify_mac
blob: ad92ccea792341f68404ba9ababbb5e847b5a455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@deftypefun {int} {gnutls_pkcs12_verify_mac} (gnutls_pkcs12_t @var{pkcs12}, const char * @var{pass})
@var{pkcs12}: should contain a gnutls_pkcs12_t type

@var{pass}: The password for the MAC

This function will verify the MAC for the PKCS12 structure.

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