gnutls_x509_crt_to_xml(3)

gnutls_x509_crt_to_xml3

This function parses an rdn sequence

Usage

#include <gnutls/x509.h>

int gnutls_x509_crt_to_xml(gnutls_x509_crt_t cert, gnutls_datum_t * res, int detail);

Arguments

gnutls_x509_crt_t cert

should contain a gnutls_x509_crt_t structure

gnutls_datum_t * res

The datum that will hold the result

int detail

The detail level (must be GNUTLS_XML_SHOW_ALL or GNUTLS_XML_NORMAL)

Overview

This function will return the XML structures of the given X.509 certificate. The XML structures are allocated internally (with malloc) and stored into res.

Note

This function is currently not implemented. See the NEWS entry for version 1.3.5.

Returns a negative error code in case of an error.

Reporting bugs

Report bugs to <[email protected]>.

From gnutls-doc 1.4.4-3+etch5 in Debian 4.0 (Etch). Parsed by carta from the page's man source.