@deftypefun {int} {gnutls_x509_ext_print} (gnutls_x509_ext_st * @var{exts}, unsigned int @var{exts_size}, gnutls_certificate_print_formats_t @var{format}, gnutls_datum_t * @var{out}) @var{exts}: The data to be printed @var{exts_size}: the number of available structures @var{format}: Indicate the format to use @var{out}: Newly allocated datum with null terminated string. This function will pretty print X.509 certificate extensions, suitable for display to a human. The output @code{out} needs to be deallocated using @code{gnutls_free()} . @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a negative error value. @end deftypefun