| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {int} {dane_verification_status_print} (unsigned int @var{status}, gnutls_datum_t * @var{out}, unsigned int @var{flags}) |
| 6 |
@var{status}: The status flags to be printed |
| 7 |
|
| 8 |
@var{out}: Newly allocated datum with (0) terminated string. |
| 9 |
|
| 10 |
@var{flags}: should be zero |
| 11 |
|
| 12 |
This function will pretty print the status of a verification |
| 13 |
process -- eg. the one obtained by @code{dane_verify_crt()} . |
| 14 |
|
| 15 |
The output @code{out} needs to be deallocated using @code{gnutls_free()} . |
| 16 |
|
| 17 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a |
| 18 |
negative error value. |
| 19 |
@end deftypefun |