diff options
Diffstat (limited to 'docs/api/xmlsec-nss-x509.html')
-rw-r--r-- | docs/api/xmlsec-nss-x509.html | 905 |
1 files changed, 412 insertions, 493 deletions
diff --git a/docs/api/xmlsec-nss-x509.html b/docs/api/xmlsec-nss-x509.html index 1101dbf6..bc2c1a91 100644 --- a/docs/api/xmlsec-nss-x509.html +++ b/docs/api/xmlsec-nss-x509.html @@ -1,765 +1,684 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -<title>x509</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.79"> -<link rel="HOME" title="XML Security Library Reference Manual" href="index.html"> -<link rel="UP" title="XML Security Library for NSS API Reference." href="xmlsec-nss-ref.html"> -<link rel="PREVIOUS" title="pkikeys" href="xmlsec-nss-pkikeys.html"> -<link rel="NEXT" title="XML Security Library for MSCrypto API Reference." href="xmlsec-mscrypto-ref.html"> -<style type="text/css">.synopsis, .classsynopsis { - background: #eeeeee; - border: solid 1px #aaaaaa; - padding: 0.5em; -} -.programlisting { - background: #eeeeff; - border: solid 1px #aaaaff; - padding: 0.5em; -} -.variablelist { - padding: 4px; - margin-left: 3em; -} -.navigation { - background: #ffeeee; - border: solid 1px #ffaaaa; - margin-top: 0.5em; - margin-bottom: 0.5em; -} -.navigation a { - color: #770000; -} -.navigation a:visited { - color: #550000; -} -.navigation .title { - font-size: 200%; -}</style> -<style type="text/css"> -table.CALSTABLE > tbody > tr:nth-child(1) > td:nth-child(1) { - width: 20em; -} -.synopsis, .classsynopsis { - background: #eeeeee; - border: solid 1px #aaaaaa; -} -.programlisting { - background: #eeeeee; - border: solid 1px #000000; -} -.navigation { - background: #eeeeee; - border: solid 1px #000000; -} -.navigation a { - color: initial; -} -.navigation a:visited { - color: initial; -} -</style> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>x509: XML Security Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> +<link rel="home" href="index.html" title="XML Security Library Reference Manual"> +<link rel="up" href="xmlsec-nss-ref.html" title="XML Security Library for NSS API Reference."> +<link rel="prev" href="xmlsec-nss-pkikeys.html" title="pkikeys"> +<link rel="next" href="xmlsec-mscrypto-ref.html" title="XML Security Library for Microsoft Crypto API Reference."> +<meta name="generator" content="GTK-Doc V1.27 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> </head> -<body><table width="100%" valign="top"><tr valign="top"> -<td valign="top" align="left" width="210"> -<img src="../images/logo.gif" alt="XML Security Library" border="0"><p></p> -<ul> -<li><a href="../index.html">Home</a></li> -<li><a href="../download.html">Download</a></li> -<li><a href="../news.html">News</a></li> -<li><a href="../documentation.html">Documentation</a></li> -<ul> -<li><a href="../faq.html">FAQ</a></li> -<li><a href="../api/xmlsec-notes.html">Tutorial</a></li> -<li><a href="../api/xmlsec-reference.html">API reference</a></li> -<li><a href="../api/xmlsec-examples.html">Examples</a></li> -</ul> -<li><a href="../xmldsig.html">XML Digital Signature</a></li> -<ul><li><a href="http://www.aleksey.com/xmlsec/xmldsig-verifier.html">Online Verifier</a></li></ul> -<li><a href="../xmlenc.html">XML Encryption</a></li> -<li><a href="../c14n.html">XML Canonicalization</a></li> -<li><a href="../bugs.html">Reporting Bugs</a></li> -<li><a href="http://www.aleksey.com/pipermail/xmlsec">Mailing list</a></li> -<li><a href="../related.html">Related</a></li> -<li><a href="../authors.html">Authors</a></li> -</ul> -<table width="100%"> -<tr> -<td width="15"></td> -<td><a href="http://xmlsoft.org/"><img src="../images/libxml2-logo.png" alt="LibXML2" border="0"></a></td> -</tr> -<tr> -<td width="15"></td> -<td><a href="http://xmlsoft.org/XSLT"><img src="../images/libxslt-logo.png" alt="LibXSLT" border="0"></a></td> -</tr> -<tr> -<td width="15"></td> -<td><a href="http://www.openssl.org/"><img src="../images/openssl-logo.png" alt="OpenSSL" border="0"></a></td> -</tr> -<!--Links - start--><!--Links - end--> -</table> -</td> -<td valign="top"><table width="100%" valign="top"><tr><td valign="top" align="left" id="xmlsecContent"> -<table width="100%" class="navigation" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="xmlsec-nss-pkikeys.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="xmlsec-nss-ref.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#xmlsec-nss-x509.description" class="shortcut">Description</a></span> +</td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> -<th width="100%" align="center">XML Security Library Reference Manual</th> +<td><a accesskey="u" href="xmlsec-nss-ref.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="xmlsec-nss-pkikeys.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="xmlsec-mscrypto-ref.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> -<h1> -<a name="XMLSEC-NSS-X509"></a>x509</h1> -<div class="REFNAMEDIV"> -<a name="AEN41427"></a><h2>Name</h2>x509 -- X509 certificates support implementation for NSS.</div> -<div class="REFSECT1"> -<a name="XMLSEC-NSS-X509.FUNCTIONS"></a><h2>Functions</h2> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41432"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refentry"> +<a name="xmlsec-nss-x509"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="xmlsec-nss-x509.top_of_page"></a>x509</span></h2> +<p>x509 — X509 certificates implementation for NSS.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="xmlsec-nss-x509.stability-level"></a><h2>Stability Level</h2> +<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated +</div> +<div class="refsect1"> +<a name="xmlsec-nss-x509.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> +</colgroup> <tbody> <tr> -<td><font><span class="RETURNVALUE">xmlSecKeyDataId</span></font></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509GETKLASS">xmlSecNssKeyDataX509GetKlass</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">xmlSecKeyDataId</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509GetKlass" title="xmlSecNssKeyDataX509GetKlass ()">xmlSecNssKeyDataX509GetKlass</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td> -<font><span class="RETURNVALUE">CERTCertificate</span></font> *</td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509GETKEYCERT">xmlSecNssKeyDataX509GetKeyCert</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">CERTCertificate</span></font> * +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509GetKeyCert" title="xmlSecNssKeyDataX509GetKeyCert ()">xmlSecNssKeyDataX509GetKeyCert</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><font><span class="RETURNVALUE">int</span></font></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509ADOPTKEYCERT">xmlSecNssKeyDataX509AdoptKeyCert</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">int</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509AdoptKeyCert" title="xmlSecNssKeyDataX509AdoptKeyCert ()">xmlSecNssKeyDataX509AdoptKeyCert</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><font><span class="RETURNVALUE">int</span></font></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509ADOPTCERT">xmlSecNssKeyDataX509AdoptCert</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">int</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509AdoptCert" title="xmlSecNssKeyDataX509AdoptCert ()">xmlSecNssKeyDataX509AdoptCert</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td> -<font><span class="RETURNVALUE">CERTCertificate</span></font> *</td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509GETCERT">xmlSecNssKeyDataX509GetCert</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">CERTCertificate</span></font> * +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509GetCert" title="xmlSecNssKeyDataX509GetCert ()">xmlSecNssKeyDataX509GetCert</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><a href="xmlsec-xmlsec.html#XMLSECSIZE"><span class="RETURNVALUE">xmlSecSize</span></a></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509GETCERTSSIZE">xmlSecNssKeyDataX509GetCertsSize</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="returnvalue">xmlSecSize</span></a> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509GetCertsSize" title="xmlSecNssKeyDataX509GetCertsSize ()">xmlSecNssKeyDataX509GetCertsSize</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><font><span class="RETURNVALUE">int</span></font></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509ADOPTCRL">xmlSecNssKeyDataX509AdoptCrl</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">int</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509AdoptCrl" title="xmlSecNssKeyDataX509AdoptCrl ()">xmlSecNssKeyDataX509AdoptCrl</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td> -<font><span class="RETURNVALUE">CERTSignedCrl</span></font> *</td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509GETCRL">xmlSecNssKeyDataX509GetCrl</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">CERTSignedCrl</span></font> * +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509GetCrl" title="xmlSecNssKeyDataX509GetCrl ()">xmlSecNssKeyDataX509GetCrl</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><a href="xmlsec-xmlsec.html#XMLSECSIZE"><span class="RETURNVALUE">xmlSecSize</span></a></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509GETCRLSSIZE">xmlSecNssKeyDataX509GetCrlsSize</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="returnvalue">xmlSecSize</span></a> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509GetCrlsSize" title="xmlSecNssKeyDataX509GetCrlsSize ()">xmlSecNssKeyDataX509GetCrlsSize</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="RETURNVALUE">xmlSecKeyDataPtr</span></a></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSX509CERTGETKEY">xmlSecNssX509CertGetKey</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="returnvalue">xmlSecKeyDataPtr</span></a> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssX509CertGetKey" title="xmlSecNssX509CertGetKey ()">xmlSecNssX509CertGetKey</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><font><span class="RETURNVALUE">xmlSecKeyDataId</span></font></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATARAWX509CERTGETKLASS">xmlSecNssKeyDataRawX509CertGetKlass</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">xmlSecKeyDataId</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataRawX509CertGetKlass" title="xmlSecNssKeyDataRawX509CertGetKlass ()">xmlSecNssKeyDataRawX509CertGetKlass</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><font><span class="RETURNVALUE">xmlSecKeyDataStoreId</span></font></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSX509STOREGETKLASS">xmlSecNssX509StoreGetKlass</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">xmlSecKeyDataStoreId</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssX509StoreGetKlass" title="xmlSecNssX509StoreGetKlass ()">xmlSecNssX509StoreGetKlass</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td> -<font><span class="RETURNVALUE">CERTCertificate</span></font> *</td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSX509STOREFINDCERT">xmlSecNssX509StoreFindCert</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">CERTCertificate</span></font> * +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssX509StoreFindCert" title="xmlSecNssX509StoreFindCert ()">xmlSecNssX509StoreFindCert</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td> -<font><span class="RETURNVALUE">CERTCertificate</span></font> *</td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSX509STOREVERIFY">xmlSecNssX509StoreVerify</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">CERTCertificate</span></font> * +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssX509StoreVerify" title="xmlSecNssX509StoreVerify ()">xmlSecNssX509StoreVerify</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td><font><span class="RETURNVALUE">int</span></font></td> -<td> -<a href="xmlsec-nss-x509.html#XMLSECNSSX509STOREADOPTCERT">xmlSecNssX509StoreAdoptCert</a> <span class="c_punctuation"><span class="PHRASE">()</span></span> +<td class="function_type"> +<font><span class="returnvalue">int</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-nss-x509.html#xmlSecNssX509StoreAdoptCert" title="xmlSecNssX509StoreAdoptCert ()">xmlSecNssX509StoreAdoptCert</a> <span class="c_punctuation">()</span> </td> </tr> </tbody> -</table> -<p></p> +</table></div> </div> -</div> -<div class="REFSECT1"> -<a name="XMLSEC-NSS-X509.OTHER"></a><h2>Types and Values</h2> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41542"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect1"> +<a name="xmlsec-nss-x509.other"></a><h2>Types and Values</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> +</colgroup> <tbody> <tr> -<td>#define</td> -<td><a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATAX509ID">xmlSecNssKeyDataX509Id</a></td> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataX509Id" title="xmlSecNssKeyDataX509Id">xmlSecNssKeyDataX509Id</a></td> </tr> <tr> -<td>#define</td> -<td><a href="xmlsec-nss-x509.html#XMLSECNSSKEYDATARAWX509CERTID">xmlSecNssKeyDataRawX509CertId</a></td> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="xmlsec-nss-x509.html#xmlSecNssKeyDataRawX509CertId" title="xmlSecNssKeyDataRawX509CertId">xmlSecNssKeyDataRawX509CertId</a></td> </tr> <tr> -<td>#define</td> -<td><a href="xmlsec-nss-x509.html#XMLSECNSSX509STOREID">xmlSecNssX509StoreId</a></td> +<td class="define_keyword">#define</td> +<td class="function_name"><a class="link" href="xmlsec-nss-x509.html#xmlSecNssX509StoreId" title="xmlSecNssX509StoreId">xmlSecNssX509StoreId</a></td> </tr> </tbody> -</table> -<p></p> -</div> +</table></div> </div> -<div class="REFSECT1"> -<a name="XMLSEC-NSS-X509.DESCRIPTION"></a><h2>Description</h2> -<p>X509 certificates support implementation for NSS.</p> +<div class="refsect1"> +<a name="xmlsec-nss-x509.description"></a><h2>Description</h2> +<p></p> </div> -<div class="REFSECT1"> -<a name="XMLSEC-NSS-X509.FUNCTIONS_DETAILS"></a><h2>Functions</h2> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509GETKLASS"></a><h3>xmlSecNssKeyDataX509GetKlass ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">xmlSecKeyDataId</span></font> -xmlSecNssKeyDataX509GetKlass (<code class="PARAMETER"><span class="TYPE">void</span></code>);</pre> -<p>The NSS X509 key data klass (http://www.w3.org/TR/xmldsig-core/<font><span class="TYPE">sec-X509Data</span></font>).</p> -<div class="REFSECT3"> -<a name="AEN41574"></a><h4>Returns</h4> +<div class="refsect1"> +<a name="xmlsec-nss-x509.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509GetKlass"></a><h3>xmlSecNssKeyDataX509GetKlass ()</h3> +<pre class="programlisting"><font><span class="returnvalue">xmlSecKeyDataId</span></font> +xmlSecNssKeyDataX509GetKlass (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p>The NSS X509 key data klass (http://www.w3.org/TR/xmldsig-core/<font><span class="type">sec-X509Data</span></font>).</p> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetKlass.returns"></a><h4>Returns</h4> <p> the X509 data klass.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509GETKEYCERT"></a><h3>xmlSecNssKeyDataX509GetKeyCert ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">CERTCertificate</span></font> * -xmlSecNssKeyDataX509GetKeyCert (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509GetKeyCert"></a><h3>xmlSecNssKeyDataX509GetKeyCert ()</h3> +<pre class="programlisting"><font><span class="returnvalue">CERTCertificate</span></font> * +xmlSecNssKeyDataX509GetKeyCert (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>);</pre> <p>Gets the certificate from which the key was extracted.</p> -<div class="REFSECT3"> -<a name="AEN41588"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41590"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetKeyCert.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody><tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr></tbody> -</table> -<p></p> -</div> +</table></div> </div> -<div class="REFSECT3"> -<a name="AEN41599"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetKeyCert.returns"></a><h4>Returns</h4> <p> the key's certificate or NULL if key data was not used for key extraction or an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509ADOPTKEYCERT"></a><h3>xmlSecNssKeyDataX509AdoptKeyCert ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">int</span></font> -xmlSecNssKeyDataX509AdoptKeyCert (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>, - <code class="PARAMETER"><font><span class="TYPE">CERTCertificate</span></font> *cert</code>);</pre> -<p>Sets the key's certificate in <code class="PARAMETER">data</code> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509AdoptKeyCert"></a><h3>xmlSecNssKeyDataX509AdoptKeyCert ()</h3> +<pre class="programlisting"><font><span class="returnvalue">int</span></font> +xmlSecNssKeyDataX509AdoptKeyCert (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>, + <em class="parameter"><code><font><span class="type">CERTCertificate</span></font> *cert</code></em>);</pre> +<p>Sets the key's certificate in <em class="parameter"><code>data</code></em> .</p> -<div class="REFSECT3"> -<a name="AEN41617"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41619"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509AdoptKeyCert.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>cert</p></td> -<td><p>the pointer to NSS X509 certificate.</p></td> -<td> </td> +<td class="parameter_name"><p>cert</p></td> +<td class="parameter_description"><p>the pointer to NSS X509 certificate.</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> +</table></div> </div> -</div> -<div class="REFSECT3"> -<a name="AEN41634"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509AdoptKeyCert.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509ADOPTCERT"></a><h3>xmlSecNssKeyDataX509AdoptCert ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">int</span></font> -xmlSecNssKeyDataX509AdoptCert (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>, - <code class="PARAMETER"><font><span class="TYPE">CERTCertificate</span></font> *cert</code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509AdoptCert"></a><h3>xmlSecNssKeyDataX509AdoptCert ()</h3> +<pre class="programlisting"><font><span class="returnvalue">int</span></font> +xmlSecNssKeyDataX509AdoptCert (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>, + <em class="parameter"><code><font><span class="type">CERTCertificate</span></font> *cert</code></em>);</pre> <p>Adds certificate to the X509 key data.</p> -<div class="REFSECT3"> -<a name="AEN41651"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41653"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509AdoptCert.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>cert</p></td> -<td><p>the pointer to NSS X509 certificate.</p></td> -<td> </td> +<td class="parameter_name"><p>cert</p></td> +<td class="parameter_description"><p>the pointer to NSS X509 certificate.</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> +</table></div> </div> -</div> -<div class="REFSECT3"> -<a name="AEN41668"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509AdoptCert.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509GETCERT"></a><h3>xmlSecNssKeyDataX509GetCert ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">CERTCertificate</span></font> * -xmlSecNssKeyDataX509GetCert (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>, - <code class="PARAMETER"><a href="xmlsec-xmlsec.html#XMLSECSIZE"><span class="TYPE">xmlSecSize</span></a> pos</code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509GetCert"></a><h3>xmlSecNssKeyDataX509GetCert ()</h3> +<pre class="programlisting"><font><span class="returnvalue">CERTCertificate</span></font> * +xmlSecNssKeyDataX509GetCert (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>, + <em class="parameter"><code><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="type">xmlSecSize</span></a> pos</code></em>);</pre> <p>Gets a certificate from X509 key data.</p> -<div class="REFSECT3"> -<a name="AEN41685"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41687"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCert.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>pos</p></td> -<td><p>the desired certificate position.</p></td> -<td> </td> +<td class="parameter_name"><p>pos</p></td> +<td class="parameter_description"><p>the desired certificate position.</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> -</div> +</table></div> </div> -<div class="REFSECT3"> -<a name="AEN41702"></a><h4>Returns</h4> -<p> the pointer to certificate or NULL if <code class="PARAMETER">pos</code> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCert.returns"></a><h4>Returns</h4> +<p> the pointer to certificate or NULL if <em class="parameter"><code>pos</code></em> is larger than the -number of certificates in <code class="PARAMETER">data</code> +number of certificates in <em class="parameter"><code>data</code></em> or an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509GETCERTSSIZE"></a><h3>xmlSecNssKeyDataX509GetCertsSize ()</h3> -<pre class="PROGRAMLISTING"><a href="xmlsec-xmlsec.html#XMLSECSIZE"><span class="RETURNVALUE">xmlSecSize</span></a> -xmlSecNssKeyDataX509GetCertsSize (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>);</pre> -<p>Gets the number of certificates in <code class="PARAMETER">data</code> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509GetCertsSize"></a><h3>xmlSecNssKeyDataX509GetCertsSize ()</h3> +<pre class="programlisting"><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="returnvalue">xmlSecSize</span></a> +xmlSecNssKeyDataX509GetCertsSize (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>);</pre> +<p>Gets the number of certificates in <em class="parameter"><code>data</code></em> .</p> -<div class="REFSECT3"> -<a name="AEN41719"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41721"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCertsSize.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody><tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr></tbody> -</table> -<p></p> +</table></div> </div> -</div> -<div class="REFSECT3"> -<a name="AEN41730"></a><h4>Returns</h4> -<p> te number of certificates in <code class="PARAMETER">data</code> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCertsSize.returns"></a><h4>Returns</h4> +<p> te number of certificates in <em class="parameter"><code>data</code></em> .</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509ADOPTCRL"></a><h3>xmlSecNssKeyDataX509AdoptCrl ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">int</span></font> -xmlSecNssKeyDataX509AdoptCrl (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>, - <code class="PARAMETER"><font><span class="TYPE">CERTSignedCrl</span></font> *crl</code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509AdoptCrl"></a><h3>xmlSecNssKeyDataX509AdoptCrl ()</h3> +<pre class="programlisting"><font><span class="returnvalue">int</span></font> +xmlSecNssKeyDataX509AdoptCrl (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>, + <em class="parameter"><code><font><span class="type">CERTSignedCrl</span></font> *crl</code></em>);</pre> <p>Adds CRL to the X509 key data.</p> -<div class="REFSECT3"> -<a name="AEN41748"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41750"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509AdoptCrl.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>crl</p></td> -<td><p>the pointer to NSS X509 CRL.</p></td> -<td> </td> +<td class="parameter_name"><p>crl</p></td> +<td class="parameter_description"><p>the pointer to NSS X509 CRL.</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> -</div> +</table></div> </div> -<div class="REFSECT3"> -<a name="AEN41765"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509AdoptCrl.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509GETCRL"></a><h3>xmlSecNssKeyDataX509GetCrl ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">CERTSignedCrl</span></font> * -xmlSecNssKeyDataX509GetCrl (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>, - <code class="PARAMETER"><a href="xmlsec-xmlsec.html#XMLSECSIZE"><span class="TYPE">xmlSecSize</span></a> pos</code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509GetCrl"></a><h3>xmlSecNssKeyDataX509GetCrl ()</h3> +<pre class="programlisting"><font><span class="returnvalue">CERTSignedCrl</span></font> * +xmlSecNssKeyDataX509GetCrl (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>, + <em class="parameter"><code><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="type">xmlSecSize</span></a> pos</code></em>);</pre> <p>Gets a CRL from X509 key data.</p> -<div class="REFSECT3"> -<a name="AEN41782"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41784"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCrl.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>pos</p></td> -<td><p>the desired CRL position.</p></td> -<td> </td> +<td class="parameter_name"><p>pos</p></td> +<td class="parameter_description"><p>the desired CRL position.</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> +</table></div> </div> -</div> -<div class="REFSECT3"> -<a name="AEN41799"></a><h4>Returns</h4> -<p> the pointer to CRL or NULL if <code class="PARAMETER">pos</code> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCrl.returns"></a><h4>Returns</h4> +<p> the pointer to CRL or NULL if <em class="parameter"><code>pos</code></em> is larger than the -number of CRLs in <code class="PARAMETER">data</code> +number of CRLs in <em class="parameter"><code>data</code></em> or an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509GETCRLSSIZE"></a><h3>xmlSecNssKeyDataX509GetCrlsSize ()</h3> -<pre class="PROGRAMLISTING"><a href="xmlsec-xmlsec.html#XMLSECSIZE"><span class="RETURNVALUE">xmlSecSize</span></a> -xmlSecNssKeyDataX509GetCrlsSize (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="TYPE">xmlSecKeyDataPtr</span></a> data</code>);</pre> -<p>Gets the number of CRLs in <code class="PARAMETER">data</code> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509GetCrlsSize"></a><h3>xmlSecNssKeyDataX509GetCrlsSize ()</h3> +<pre class="programlisting"><a class="link" href="xmlsec-xmlsec.html#xmlSecSize" title="xmlSecSize"><span class="returnvalue">xmlSecSize</span></a> +xmlSecNssKeyDataX509GetCrlsSize (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="type">xmlSecKeyDataPtr</span></a> data</code></em>);</pre> +<p>Gets the number of CRLs in <em class="parameter"><code>data</code></em> .</p> -<div class="REFSECT3"> -<a name="AEN41816"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41818"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCrlsSize.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody><tr> -<td><p>data</p></td> -<td><p>the pointer to X509 key data.</p></td> -<td> </td> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>the pointer to X509 key data.</p></td> +<td class="parameter_annotations"> </td> </tr></tbody> -</table> -<p></p> -</div> +</table></div> </div> -<div class="REFSECT3"> -<a name="AEN41827"></a><h4>Returns</h4> -<p> te number of CRLs in <code class="PARAMETER">data</code> +<div class="refsect3"> +<a name="xmlSecNssKeyDataX509GetCrlsSize.returns"></a><h4>Returns</h4> +<p> te number of CRLs in <em class="parameter"><code>data</code></em> .</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSX509CERTGETKEY"></a><h3>xmlSecNssX509CertGetKey ()</h3> -<pre class="PROGRAMLISTING"><a href="xmlsec-keysdata.html#XMLSECKEYDATA"><span class="RETURNVALUE">xmlSecKeyDataPtr</span></a> -xmlSecNssX509CertGetKey (<code class="PARAMETER"><font><span class="TYPE">CERTCertificate</span></font> *cert</code>);</pre> -<p>Extracts public key from the <code class="PARAMETER">cert</code> +<div class="refsect2"> +<a name="xmlSecNssX509CertGetKey"></a><h3>xmlSecNssX509CertGetKey ()</h3> +<pre class="programlisting"><a class="link" href="xmlsec-keysdata.html#xmlSecKeyData" title="struct xmlSecKeyData"><span class="returnvalue">xmlSecKeyDataPtr</span></a> +xmlSecNssX509CertGetKey (<em class="parameter"><code><font><span class="type">CERTCertificate</span></font> *cert</code></em>);</pre> +<p>Extracts public key from the <em class="parameter"><code>cert</code></em> .</p> -<div class="REFSECT3"> -<a name="AEN41843"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41845"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssX509CertGetKey.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody><tr> -<td><p>cert</p></td> -<td><p>the certificate.</p></td> -<td> </td> +<td class="parameter_name"><p>cert</p></td> +<td class="parameter_description"><p>the certificate.</p></td> +<td class="parameter_annotations"> </td> </tr></tbody> -</table> -<p></p> +</table></div> </div> -</div> -<div class="REFSECT3"> -<a name="AEN41854"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssX509CertGetKey.returns"></a><h4>Returns</h4> <p> public key value or NULL if an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATARAWX509CERTGETKLASS"></a><h3>xmlSecNssKeyDataRawX509CertGetKlass ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">xmlSecKeyDataId</span></font> -xmlSecNssKeyDataRawX509CertGetKlass (<code class="PARAMETER"><span class="TYPE">void</span></code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssKeyDataRawX509CertGetKlass"></a><h3>xmlSecNssKeyDataRawX509CertGetKlass ()</h3> +<pre class="programlisting"><font><span class="returnvalue">xmlSecKeyDataId</span></font> +xmlSecNssKeyDataRawX509CertGetKlass (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>The raw X509 certificates key data klass.</p> -<div class="REFSECT3"> -<a name="AEN41867"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssKeyDataRawX509CertGetKlass.returns"></a><h4>Returns</h4> <p> raw X509 certificates key data klass.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSX509STOREGETKLASS"></a><h3>xmlSecNssX509StoreGetKlass ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">xmlSecKeyDataStoreId</span></font> -xmlSecNssX509StoreGetKlass (<code class="PARAMETER"><span class="TYPE">void</span></code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssX509StoreGetKlass"></a><h3>xmlSecNssX509StoreGetKlass ()</h3> +<pre class="programlisting"><font><span class="returnvalue">xmlSecKeyDataStoreId</span></font> +xmlSecNssX509StoreGetKlass (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>The NSS X509 certificates key data store klass.</p> -<div class="REFSECT3"> -<a name="AEN41880"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssX509StoreGetKlass.returns"></a><h4>Returns</h4> <p> pointer to NSS X509 certificates key data store klass.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSX509STOREFINDCERT"></a><h3>xmlSecNssX509StoreFindCert ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">CERTCertificate</span></font> * -xmlSecNssX509StoreFindCert (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATASTORE"><span class="TYPE">xmlSecKeyDataStorePtr</span></a> store</code>, - <code class="PARAMETER"><font><span class="TYPE">xmlChar</span></font> *subjectName</code>, - <code class="PARAMETER"><font><span class="TYPE">xmlChar</span></font> *issuerName</code>, - <code class="PARAMETER"><font><span class="TYPE">xmlChar</span></font> *issuerSerial</code>, - <code class="PARAMETER"><font><span class="TYPE">xmlChar</span></font> *ski</code>, - <code class="PARAMETER"><a href="xmlsec-keyinfo.html#XMLSECKEYINFOCTX"><span class="TYPE">xmlSecKeyInfoCtx</span></a> *keyInfoCtx</code>);</pre> -<p>Searches <code class="PARAMETER">store</code> +<div class="refsect2"> +<a name="xmlSecNssX509StoreFindCert"></a><h3>xmlSecNssX509StoreFindCert ()</h3> +<pre class="programlisting"><font><span class="returnvalue">CERTCertificate</span></font> * +xmlSecNssX509StoreFindCert (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyDataStore" title="struct xmlSecKeyDataStore"><span class="type">xmlSecKeyDataStorePtr</span></a> store</code></em>, + <em class="parameter"><code><font><span class="type">xmlChar</span></font> *subjectName</code></em>, + <em class="parameter"><code><font><span class="type">xmlChar</span></font> *issuerName</code></em>, + <em class="parameter"><code><font><span class="type">xmlChar</span></font> *issuerSerial</code></em>, + <em class="parameter"><code><font><span class="type">xmlChar</span></font> *ski</code></em>, + <em class="parameter"><code><a class="link" href="xmlsec-keyinfo.html#xmlSecKeyInfoCtx" title="struct xmlSecKeyInfoCtx"><span class="type">xmlSecKeyInfoCtx</span></a> *keyInfoCtx</code></em>);</pre> +<p>Searches <em class="parameter"><code>store</code></em> for a certificate that matches given criteria.</p> -<div class="REFSECT3"> -<a name="AEN41910"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41912"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssX509StoreFindCert.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>store</p></td> -<td><p>the pointer to X509 key data store klass.</p></td> -<td> </td> +<td class="parameter_name"><p>store</p></td> +<td class="parameter_description"><p>the pointer to X509 key data store klass.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>subjectName</p></td> -<td><p>the desired certificate name.</p></td> -<td> </td> +<td class="parameter_name"><p>subjectName</p></td> +<td class="parameter_description"><p>the desired certificate name.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>issuerName</p></td> -<td><p>the desired certificate issuer name.</p></td> -<td> </td> +<td class="parameter_name"><p>issuerName</p></td> +<td class="parameter_description"><p>the desired certificate issuer name.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>issuerSerial</p></td> -<td><p>the desired certificate issuer serial number.</p></td> -<td> </td> +<td class="parameter_name"><p>issuerSerial</p></td> +<td class="parameter_description"><p>the desired certificate issuer serial number.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>ski</p></td> -<td><p>the desired certificate SKI.</p></td> -<td> </td> +<td class="parameter_name"><p>ski</p></td> +<td class="parameter_description"><p>the desired certificate SKI.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>keyInfoCtx</p></td> -<td><p>the pointer to <dsig:KeyInfo/> element processing context.</p></td> -<td> </td> +<td class="parameter_name"><p>keyInfoCtx</p></td> +<td class="parameter_description"><p>the pointer to <a class="ulink" href="" target="_top"><dsig:KeyInfo/></a> element processing context.</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> -</div> +</table></div> </div> -<div class="REFSECT3"> -<a name="AEN41951"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssX509StoreFindCert.returns"></a><h4>Returns</h4> <p> pointer to found certificate or NULL if certificate is not found or an error occurs.</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSX509STOREVERIFY"></a><h3>xmlSecNssX509StoreVerify ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">CERTCertificate</span></font> * -xmlSecNssX509StoreVerify (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATASTORE"><span class="TYPE">xmlSecKeyDataStorePtr</span></a> store</code>, - <code class="PARAMETER"><font><span class="TYPE">CERTCertList</span></font> *certs</code>, - <code class="PARAMETER"><a href="xmlsec-keyinfo.html#XMLSECKEYINFOCTX"><span class="TYPE">xmlSecKeyInfoCtx</span></a> *keyInfoCtx</code>);</pre> -<p>Verifies <code class="PARAMETER">certs</code> +<div class="refsect2"> +<a name="xmlSecNssX509StoreVerify"></a><h3>xmlSecNssX509StoreVerify ()</h3> +<pre class="programlisting"><font><span class="returnvalue">CERTCertificate</span></font> * +xmlSecNssX509StoreVerify (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyDataStore" title="struct xmlSecKeyDataStore"><span class="type">xmlSecKeyDataStorePtr</span></a> store</code></em>, + <em class="parameter"><code><font><span class="type">CERTCertList</span></font> *certs</code></em>, + <em class="parameter"><code><a class="link" href="xmlsec-keyinfo.html#xmlSecKeyInfoCtx" title="struct xmlSecKeyInfoCtx"><span class="type">xmlSecKeyInfoCtx</span></a> *keyInfoCtx</code></em>);</pre> +<p>Verifies <em class="parameter"><code>certs</code></em> list.</p> -<div class="REFSECT3"> -<a name="AEN41972"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN41974"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssX509StoreVerify.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>store</p></td> -<td><p>the pointer to X509 key data store klass.</p></td> -<td> </td> +<td class="parameter_name"><p>store</p></td> +<td class="parameter_description"><p>the pointer to X509 key data store klass.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>certs</p></td> -<td><p>the untrusted certificates stack.</p></td> -<td> </td> +<td class="parameter_name"><p>certs</p></td> +<td class="parameter_description"><p>the untrusted certificates stack.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>keyInfoCtx</p></td> -<td><p>the pointer to <dsig:KeyInfo/> element processing context.</p></td> -<td> </td> +<td class="parameter_name"><p>keyInfoCtx</p></td> +<td class="parameter_description"><p>the pointer to <a class="ulink" href="" target="_top"><dsig:KeyInfo/></a> element processing context.</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> +</table></div> </div> -</div> -<div class="REFSECT3"> -<a name="AEN41995"></a><h4>Returns</h4> -<p> pointer to the first verified certificate from <code class="PARAMETER">certs</code> +<div class="refsect3"> +<a name="xmlSecNssX509StoreVerify.returns"></a><h4>Returns</h4> +<p> pointer to the first verified certificate from <em class="parameter"><code>certs</code></em> .</p> </div> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSX509STOREADOPTCERT"></a><h3>xmlSecNssX509StoreAdoptCert ()</h3> -<pre class="PROGRAMLISTING"><font><span class="RETURNVALUE">int</span></font> -xmlSecNssX509StoreAdoptCert (<code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATASTORE"><span class="TYPE">xmlSecKeyDataStorePtr</span></a> store</code>, - <code class="PARAMETER"><font><span class="TYPE">CERTCertificate</span></font> *cert</code>, - <code class="PARAMETER"><a href="xmlsec-keysdata.html#XMLSECKEYDATATYPE"><span class="TYPE">xmlSecKeyDataType</span></a> type</code>);</pre> +<div class="refsect2"> +<a name="xmlSecNssX509StoreAdoptCert"></a><h3>xmlSecNssX509StoreAdoptCert ()</h3> +<pre class="programlisting"><font><span class="returnvalue">int</span></font> +xmlSecNssX509StoreAdoptCert (<em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyDataStore" title="struct xmlSecKeyDataStore"><span class="type">xmlSecKeyDataStorePtr</span></a> store</code></em>, + <em class="parameter"><code><font><span class="type">CERTCertificate</span></font> *cert</code></em>, + <em class="parameter"><code><a class="link" href="xmlsec-keysdata.html#xmlSecKeyDataType" title="xmlSecKeyDataType"><span class="type">xmlSecKeyDataType</span></a> type</code></em>);</pre> <p>Adds trusted (root) or untrusted certificate to the store.</p> -<div class="REFSECT3"> -<a name="AEN42016"></a><h4>Parameters</h4> -<div class="INFORMALTABLE"> -<p></p> -<a name="AEN42018"></a><table border="0" frame="void" width="100%" class="CALSTABLE"> +<div class="refsect3"> +<a name="xmlSecNssX509StoreAdoptCert.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> <col> <col> <col> +</colgroup> <tbody> <tr> -<td><p>store</p></td> -<td><p>the pointer to X509 key data store klass.</p></td> -<td> </td> +<td class="parameter_name"><p>store</p></td> +<td class="parameter_description"><p>the pointer to X509 key data store klass.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>cert</p></td> -<td><p>the pointer to NSS X509 certificate.</p></td> -<td> </td> +<td class="parameter_name"><p>cert</p></td> +<td class="parameter_description"><p>the pointer to NSS X509 certificate.</p></td> +<td class="parameter_annotations"> </td> </tr> <tr> -<td><p>type</p></td> -<td><p>the certificate type (trusted/untrusted).</p></td> -<td> </td> +<td class="parameter_name"><p>type</p></td> +<td class="parameter_description"><p>the certificate type (trusted/untrusted).</p></td> +<td class="parameter_annotations"> </td> </tr> </tbody> -</table> -<p></p> -</div> +</table></div> </div> -<div class="REFSECT3"> -<a name="AEN42039"></a><h4>Returns</h4> +<div class="refsect3"> +<a name="xmlSecNssX509StoreAdoptCert.returns"></a><h4>Returns</h4> <p> 0 on success or a negative value if an error occurs.</p> </div> </div> </div> -<div class="REFSECT1"> -<a name="XMLSEC-NSS-X509.OTHER_DETAILS"></a><h2>Types and Values</h2> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATAX509ID"></a><h3>xmlSecNssKeyDataX509Id</h3> -<pre class="PROGRAMLISTING">#define xmlSecNssKeyDataX509Id</pre> +<div class="refsect1"> +<a name="xmlsec-nss-x509.other_details"></a><h2>Types and Values</h2> +<div class="refsect2"> +<a name="xmlSecNssKeyDataX509Id"></a><h3>xmlSecNssKeyDataX509Id</h3> +<pre class="programlisting">#define xmlSecNssKeyDataX509Id</pre> <p>The NSS X509 data klass.</p> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSKEYDATARAWX509CERTID"></a><h3>xmlSecNssKeyDataRawX509CertId</h3> -<pre class="PROGRAMLISTING">#define xmlSecNssKeyDataRawX509CertId</pre> +<div class="refsect2"> +<a name="xmlSecNssKeyDataRawX509CertId"></a><h3>xmlSecNssKeyDataRawX509CertId</h3> +<pre class="programlisting">#define xmlSecNssKeyDataRawX509CertId</pre> <p>The NSS raw X509 certificate klass.</p> </div> <hr> -<div class="REFSECT2"> -<a name="XMLSECNSSX509STOREID"></a><h3>xmlSecNssX509StoreId</h3> -<pre class="PROGRAMLISTING">#define xmlSecNssX509StoreId</pre> +<div class="refsect2"> +<a name="xmlSecNssX509StoreId"></a><h3>xmlSecNssX509StoreId</h3> +<pre class="programlisting">#define xmlSecNssX509StoreId</pre> <p>The NSS X509 store klass.</p> </div> </div> -<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td align="left"><a accesskey="p" href="xmlsec-nss-pkikeys.html"><b><<< pkikeys</b></a></td> -<td align="right"><a accesskey="n" href="xmlsec-mscrypto-ref.html"><b>XML Security Library for MSCrypto API Reference. >>></b></a></td> -</tr></table> -</td></tr></table></td> -</tr></table></body> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.27</div> +</body> </html> |