gnutls_certificate_verification_status_print3
Api function
Usage
#include <gnutls/gnutls.h>
int gnutls_certificate_verification_status_print(unsigned int status, gnutls_certificate_type_t type, gnutls_datum_t * out, unsigned int flags);
Arguments
unsigned int status
|
The status flags to be printed |
|---|---|
gnutls_certificate_type_t type
|
The certificate type |
gnutls_datum_t * out
|
Newly allocated datum with (0) terminated string. |
unsigned int flags
|
should be zero |
Overview
This function will pretty print the status of a verification process -- eg. the one obtained by gnutls_certificate_verify_peers3().
The output out needs to be deallocated using gnutls_free().
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Since
3.1.4
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.