doc/functions/gnutls_pkcs12_bag_decrypt
raw| 1 | |
| 2 | |
| 3 | |
| 4 | @deftypefun {int} {gnutls_pkcs12_bag_decrypt} (gnutls_pkcs12_bag_t @var{bag}, const char * @var{pass}) |
| 5 | @var{bag}: The bag |
| 6 | |
| 7 | @var{pass}: The password used for encryption, must be ASCII. |
| 8 | |
| 9 | This function will decrypt the given encrypted bag and return 0 on |
| 10 | success. |
| 11 | |
| 12 | @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, |
| 13 | otherwise a negative error code is returned. |
| 14 | @end deftypefun |