Blame doc/functions/gnutls_pubkey_print

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_pubkey_print} (gnutls_pubkey_t @var{pubkey}, gnutls_certificate_print_formats_t @var{format}, gnutls_datum_t * @var{out})
Packit Service 4684c1
@var{pubkey}: The data to be printed
Packit Service 4684c1
Packit Service 4684c1
@var{format}: Indicate the format to use
Packit Service 4684c1
Packit Service 4684c1
@var{out}: Newly allocated datum with null terminated string.
Packit Service 4684c1
Packit Service 4684c1
This function will pretty print public key information, suitable for
Packit Service 4684c1
display to a human.
Packit Service 4684c1
Packit Service 4684c1
Only @code{GNUTLS_CRT_PRINT_FULL}  and @code{GNUTLS_CRT_PRINT_FULL_NUMBERS} 
Packit Service 4684c1
are implemented.
Packit Service 4684c1
Packit Service 4684c1
The output  @code{out} needs to be deallocated using @code{gnutls_free()} .
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit Service 4684c1
negative error value.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 3.1.5
Packit Service 4684c1
@end deftypefun