gnutls_x509_crt_to_xml — This function parses an RDN sequence
#include <gnutls/x509.h>
int
gnutls_x509_crt_to_xml( |
gnutls_x509_crt_t | cert, |
gnutls_datum_t * | res, | |
int | detail) ; |
should contain a gnutls_x509_crt_t structure
The datum that will hold the result
The detail level (must be GNUTLS_XML_SHOW_ALL or GNUTLS_XML_NORMAL)
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.
Returns a negative error code in case of an error.
The full documentation for gnutls
is maintained as a
Texinfo manual. If the info
and gnutls
programs are properly
installed at your site, the command
info gnutls
should give you access to the complete manual.
COPYRIGHT |
---|
Copyright © 2006, 2007 Free Software Foundation. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. |