aboutsummaryrefslogtreecommitdiffstats
path: root/doc/doxyout/hx509/html/group__hx509__cert.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/doxyout/hx509/html/group__hx509__cert.html')
-rw-r--r--doc/doxyout/hx509/html/group__hx509__cert.html1461
1 files changed, 733 insertions, 728 deletions
diff --git a/doc/doxyout/hx509/html/group__hx509__cert.html b/doc/doxyout/hx509/html/group__hx509__cert.html
index a91284ed4837..5532a2c69d6b 100644
--- a/doc/doxyout/hx509/html/group__hx509__cert.html
+++ b/doc/doxyout/hx509/html/group__hx509__cert.html
@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
-<title>Heimdalx509library: hx509 certificate functions</title>
+<title>hx509 certificate functions</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
@@ -8,1418 +8,1423 @@
<a href="http://www.h5l.org/"><img src="http://www.h5l.org/keyhole-heimdal.png" alt="keyhole logo"/></a>
</p>
<!-- end of header marker -->
-<!-- Generated by Doxygen 1.5.6 -->
-<div class="navigation" id="top">
- <div class="tabs">
- <ul>
- <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
- <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
- <li><a href="modules.html"><span>Modules</span></a></li>
- </ul>
- </div>
-</div>
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',false,false,'search.php','Search');
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">hx509 certificate functions</div> </div>
+</div><!--header-->
<div class="contents">
-<h1>hx509 certificate functions</h1><table border="0" cellpadding="0" cellspacing="0">
-<tr><td></td></tr>
-<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g1aa420f664ce5933f8af4cf6c37fd6f6">hx509_cert_init</a> (hx509_context context, const Certificate *c, hx509_cert *cert)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g479d8c1bf22aa8fdfa448bed1ec54d7b">hx509_cert_init_data</a> (hx509_context context, const void *ptr, size_t len, hx509_cert *cert)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gd2f9bb0ddc4babb26a8ccd983db8c948">hx509_cert_free</a> (hx509_cert cert)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">hx509_cert&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g1870b485d4e8e53f75690f35f4526fcc">hx509_cert_ref</a> (hx509_cert cert)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gfb8063ac0396ad60392b8b9554c6b896">hx509_verify_ctx_f_allow_default_trustanchors</a> (hx509_verify_ctx ctx, int boolean)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g49e7c45c70442dcb81d394093d9cbe29">hx509_cert_find_subjectAltName_otherName</a> (hx509_context context, hx509_cert cert, const heim_oid *oid, hx509_octet_string_list *list)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gb84ed704b59c7965a598ef9c7c353216">hx509_cert_cmp</a> (hx509_cert p, hx509_cert q)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g3c61a21c5a802b2f366c9610ff89fa90">hx509_cert_get_issuer</a> (hx509_cert p, hx509_name *name)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g9f64bb8083bb535ccba007b723c73619">hx509_cert_get_subject</a> (hx509_cert p, hx509_name *name)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g5e8e38603eb13753912b0075aab276cf">hx509_cert_get_base_subject</a> (hx509_context context, hx509_cert c, hx509_name *name)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g2960bea38768b49c8b949fe2ea5320e3">hx509_cert_get_serialnumber</a> (hx509_cert p, heim_integer *i)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g2e36444c1bce8995ee193013364ce852">hx509_cert_get_notBefore</a> (hx509_cert p)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gd3e8410e9bb4d0bf61bc3e926a4049eb">hx509_cert_get_notAfter</a> (hx509_cert p)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gc9e328025dd91339cf73eecdeec4ffd6">hx509_cert_get_SPKI</a> (hx509_context context, hx509_cert p, SubjectPublicKeyInfo *spki)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gc2fd6cd8b1fbe0d470a88143a359c395">hx509_cert_get_SPKI_AlgorithmIdentifier</a> (hx509_context context, hx509_cert p, AlgorithmIdentifier *alg)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gc88fb8bf53b3e105f728251f6d4d4b1f">hx509_cert_get_issuer_unique_id</a> (hx509_context context, hx509_cert p, heim_bit_string *issuer)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gc7184f4f0249842866d51b17e4b101fb">hx509_cert_get_subject_unique_id</a> (hx509_context context, hx509_cert p, heim_bit_string *subject)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g5dc160f02aeffffb0eea58b6203c856a">hx509_verify_hostname</a> (hx509_context context, const hx509_cert cert, int flags, hx509_hostname_type type, const char *hostname, const struct sockaddr *sa, int sa_size)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">hx509_cert_attribute&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g2038342b93f828789a241a7fee26f4c8">hx509_cert_get_attribute</a> (hx509_cert cert, const heim_oid *oid)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g972768dbcc822fed1b74e7686b407f78">hx509_cert_set_friendly_name</a> (hx509_cert cert, const char *name)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ge2a1de96837304d68216c309e698c3fd">hx509_cert_get_friendly_name</a> (hx509_cert cert)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g5833168d3181e12883b51284fd069543">hx509_query_alloc</a> (hx509_context context, hx509_query **q)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gc708daef26edff5fd36f4587e61a9914">hx509_query_match_option</a> (hx509_query *q, hx509_query_option option)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gd5d7a68cc8ca4c948ae99b7eb6f5bc2e">hx509_query_match_issuer_serial</a> (hx509_query *q, const Name *issuer, const heim_integer *serialNumber)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g5be7b5ece155f2577335b5575f141362">hx509_query_match_friendly_name</a> (hx509_query *q, const char *name)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g5a7e01c75b7b8243356048a88133c2df">hx509_query_match_eku</a> (hx509_query *q, const heim_oid *eku)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ge1660c0cf5a41f17db72a8c18e79c684">hx509_query_match_cmp_func</a> (hx509_query *q, int(*func)(hx509_context, hx509_cert, void *), void *ctx)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g6aafd01e9215fef980a572b2c7289d8c">hx509_query_free</a> (hx509_context context, hx509_query *q)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g94b4aa7d907d34914e161831e74440a8">hx509_query_statistic_file</a> (hx509_context context, const char *fn)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g522fb2a85515ce8debea860cdfeb94c0">hx509_query_unparse_stats</a> (hx509_context context, int printtype, FILE *out)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g1b329c40d7c17cc1b099ec0bd24d4dc9">hx509_cert_check_eku</a> (hx509_context context, hx509_cert cert, const heim_oid *eku, int allow_any_eku)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gfa02f22b6db5ca3c19a488066fea5d7a">hx509_cert_binary</a> (hx509_context context, hx509_cert c, heim_octet_string *os)</td></tr>
-
-<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#g32a804b17d97d71af17602fdf6b1c891">hx509_print_cert</a> (hx509_context context, hx509_cert cert, FILE *out)</td></tr>
-
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:ga31c3f5e9a6d7892729c56f0f86a76f4a"><td class="memItemLeft" align="right" valign="top">hx509_cert&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga31c3f5e9a6d7892729c56f0f86a76f4a">hx509_cert_init</a> (hx509_context context, const Certificate *c, heim_error_t *error)</td></tr>
+<tr class="separator:ga31c3f5e9a6d7892729c56f0f86a76f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga134b62e36ffcf09bbf866a88bc4c5010"><td class="memItemLeft" align="right" valign="top">hx509_cert&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga134b62e36ffcf09bbf866a88bc4c5010">hx509_cert_init_data</a> (hx509_context context, const void *ptr, size_t len, heim_error_t *error)</td></tr>
+<tr class="separator:ga134b62e36ffcf09bbf866a88bc4c5010"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gad2f9bb0ddc4babb26a8ccd983db8c948"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gad2f9bb0ddc4babb26a8ccd983db8c948">hx509_cert_free</a> (hx509_cert cert)</td></tr>
+<tr class="separator:gad2f9bb0ddc4babb26a8ccd983db8c948"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga1870b485d4e8e53f75690f35f4526fcc"><td class="memItemLeft" align="right" valign="top">hx509_cert&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga1870b485d4e8e53f75690f35f4526fcc">hx509_cert_ref</a> (hx509_cert cert)</td></tr>
+<tr class="separator:ga1870b485d4e8e53f75690f35f4526fcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gafb8063ac0396ad60392b8b9554c6b896"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gafb8063ac0396ad60392b8b9554c6b896">hx509_verify_ctx_f_allow_default_trustanchors</a> (hx509_verify_ctx ctx, int boolean)</td></tr>
+<tr class="separator:gafb8063ac0396ad60392b8b9554c6b896"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga49e7c45c70442dcb81d394093d9cbe29"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga49e7c45c70442dcb81d394093d9cbe29">hx509_cert_find_subjectAltName_otherName</a> (hx509_context context, hx509_cert cert, const heim_oid *oid, hx509_octet_string_list *list)</td></tr>
+<tr class="separator:ga49e7c45c70442dcb81d394093d9cbe29"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gab84ed704b59c7965a598ef9c7c353216"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gab84ed704b59c7965a598ef9c7c353216">hx509_cert_cmp</a> (hx509_cert p, hx509_cert q)</td></tr>
+<tr class="separator:gab84ed704b59c7965a598ef9c7c353216"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga3c61a21c5a802b2f366c9610ff89fa90"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga3c61a21c5a802b2f366c9610ff89fa90">hx509_cert_get_issuer</a> (hx509_cert p, hx509_name *name)</td></tr>
+<tr class="separator:ga3c61a21c5a802b2f366c9610ff89fa90"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga9f64bb8083bb535ccba007b723c73619"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga9f64bb8083bb535ccba007b723c73619">hx509_cert_get_subject</a> (hx509_cert p, hx509_name *name)</td></tr>
+<tr class="separator:ga9f64bb8083bb535ccba007b723c73619"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga5e8e38603eb13753912b0075aab276cf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga5e8e38603eb13753912b0075aab276cf">hx509_cert_get_base_subject</a> (hx509_context context, hx509_cert c, hx509_name *name)</td></tr>
+<tr class="separator:ga5e8e38603eb13753912b0075aab276cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga2960bea38768b49c8b949fe2ea5320e3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga2960bea38768b49c8b949fe2ea5320e3">hx509_cert_get_serialnumber</a> (hx509_cert p, heim_integer *i)</td></tr>
+<tr class="separator:ga2960bea38768b49c8b949fe2ea5320e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga2e36444c1bce8995ee193013364ce852"><td class="memItemLeft" align="right" valign="top">time_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga2e36444c1bce8995ee193013364ce852">hx509_cert_get_notBefore</a> (hx509_cert p)</td></tr>
+<tr class="separator:ga2e36444c1bce8995ee193013364ce852"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gad3e8410e9bb4d0bf61bc3e926a4049eb"><td class="memItemLeft" align="right" valign="top">time_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gad3e8410e9bb4d0bf61bc3e926a4049eb">hx509_cert_get_notAfter</a> (hx509_cert p)</td></tr>
+<tr class="separator:gad3e8410e9bb4d0bf61bc3e926a4049eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gac9e328025dd91339cf73eecdeec4ffd6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gac9e328025dd91339cf73eecdeec4ffd6">hx509_cert_get_SPKI</a> (hx509_context context, hx509_cert p, SubjectPublicKeyInfo *spki)</td></tr>
+<tr class="separator:gac9e328025dd91339cf73eecdeec4ffd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gac2fd6cd8b1fbe0d470a88143a359c395"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gac2fd6cd8b1fbe0d470a88143a359c395">hx509_cert_get_SPKI_AlgorithmIdentifier</a> (hx509_context context, hx509_cert p, AlgorithmIdentifier *alg)</td></tr>
+<tr class="separator:gac2fd6cd8b1fbe0d470a88143a359c395"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gac88fb8bf53b3e105f728251f6d4d4b1f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gac88fb8bf53b3e105f728251f6d4d4b1f">hx509_cert_get_issuer_unique_id</a> (hx509_context context, hx509_cert p, heim_bit_string *issuer)</td></tr>
+<tr class="separator:gac88fb8bf53b3e105f728251f6d4d4b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gac7184f4f0249842866d51b17e4b101fb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gac7184f4f0249842866d51b17e4b101fb">hx509_cert_get_subject_unique_id</a> (hx509_context context, hx509_cert p, heim_bit_string *subject)</td></tr>
+<tr class="separator:gac7184f4f0249842866d51b17e4b101fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga5dc160f02aeffffb0eea58b6203c856a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga5dc160f02aeffffb0eea58b6203c856a">hx509_verify_hostname</a> (hx509_context context, const hx509_cert cert, int flags, hx509_hostname_type type, const char *hostname, const struct sockaddr *sa, int sa_size)</td></tr>
+<tr class="separator:ga5dc160f02aeffffb0eea58b6203c856a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga2038342b93f828789a241a7fee26f4c8"><td class="memItemLeft" align="right" valign="top">hx509_cert_attribute&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga2038342b93f828789a241a7fee26f4c8">hx509_cert_get_attribute</a> (hx509_cert cert, const heim_oid *oid)</td></tr>
+<tr class="separator:ga2038342b93f828789a241a7fee26f4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga972768dbcc822fed1b74e7686b407f78"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga972768dbcc822fed1b74e7686b407f78">hx509_cert_set_friendly_name</a> (hx509_cert cert, const char *name)</td></tr>
+<tr class="separator:ga972768dbcc822fed1b74e7686b407f78"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gae2a1de96837304d68216c309e698c3fd"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gae2a1de96837304d68216c309e698c3fd">hx509_cert_get_friendly_name</a> (hx509_cert cert)</td></tr>
+<tr class="separator:gae2a1de96837304d68216c309e698c3fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga5833168d3181e12883b51284fd069543"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga5833168d3181e12883b51284fd069543">hx509_query_alloc</a> (hx509_context context, hx509_query **q)</td></tr>
+<tr class="separator:ga5833168d3181e12883b51284fd069543"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gac708daef26edff5fd36f4587e61a9914"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gac708daef26edff5fd36f4587e61a9914">hx509_query_match_option</a> (hx509_query *q, hx509_query_option option)</td></tr>
+<tr class="separator:gac708daef26edff5fd36f4587e61a9914"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gad5d7a68cc8ca4c948ae99b7eb6f5bc2e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gad5d7a68cc8ca4c948ae99b7eb6f5bc2e">hx509_query_match_issuer_serial</a> (hx509_query *q, const Name *issuer, const heim_integer *serialNumber)</td></tr>
+<tr class="separator:gad5d7a68cc8ca4c948ae99b7eb6f5bc2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga5be7b5ece155f2577335b5575f141362"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga5be7b5ece155f2577335b5575f141362">hx509_query_match_friendly_name</a> (hx509_query *q, const char *name)</td></tr>
+<tr class="separator:ga5be7b5ece155f2577335b5575f141362"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga5a7e01c75b7b8243356048a88133c2df"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga5a7e01c75b7b8243356048a88133c2df">hx509_query_match_eku</a> (hx509_query *q, const heim_oid *eku)</td></tr>
+<tr class="separator:ga5a7e01c75b7b8243356048a88133c2df"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gae1660c0cf5a41f17db72a8c18e79c684"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gae1660c0cf5a41f17db72a8c18e79c684">hx509_query_match_cmp_func</a> (hx509_query *q, int(*func)(hx509_context, hx509_cert, void *), void *ctx)</td></tr>
+<tr class="separator:gae1660c0cf5a41f17db72a8c18e79c684"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga6aafd01e9215fef980a572b2c7289d8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga6aafd01e9215fef980a572b2c7289d8c">hx509_query_free</a> (hx509_context context, hx509_query *q)</td></tr>
+<tr class="separator:ga6aafd01e9215fef980a572b2c7289d8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga94b4aa7d907d34914e161831e74440a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga94b4aa7d907d34914e161831e74440a8">hx509_query_statistic_file</a> (hx509_context context, const char *fn)</td></tr>
+<tr class="separator:ga94b4aa7d907d34914e161831e74440a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga522fb2a85515ce8debea860cdfeb94c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga522fb2a85515ce8debea860cdfeb94c0">hx509_query_unparse_stats</a> (hx509_context context, int printtype, FILE *out)</td></tr>
+<tr class="separator:ga522fb2a85515ce8debea860cdfeb94c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga1b329c40d7c17cc1b099ec0bd24d4dc9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga1b329c40d7c17cc1b099ec0bd24d4dc9">hx509_cert_check_eku</a> (hx509_context context, hx509_cert cert, const heim_oid *eku, int allow_any_eku)</td></tr>
+<tr class="separator:ga1b329c40d7c17cc1b099ec0bd24d4dc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:gafa02f22b6db5ca3c19a488066fea5d7a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#gafa02f22b6db5ca3c19a488066fea5d7a">hx509_cert_binary</a> (hx509_context context, hx509_cert c, heim_octet_string *os)</td></tr>
+<tr class="separator:gafa02f22b6db5ca3c19a488066fea5d7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ga32a804b17d97d71af17602fdf6b1c891"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hx509__cert.html#ga32a804b17d97d71af17602fdf6b1c891">hx509_print_cert</a> (hx509_context context, hx509_cert cert, FILE *out)</td></tr>
+<tr class="separator:ga32a804b17d97d71af17602fdf6b1c891"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
-<hr><a name="_details"></a><h2>Detailed Description</h2>
-See the <a class="el" href="page_cert.html">The basic certificate</a> for description and examples. <hr><h2>Function Documentation</h2>
-<a class="anchor" name="gfa02f22b6db5ca3c19a488066fea5d7a"></a><!-- doxytag: member="cert.c::hx509_cert_binary" ref="gfa02f22b6db5ca3c19a488066fea5d7a" args="(hx509_context context, hx509_cert c, heim_octet_string *os)" -->
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<p>See the <a class="el" href="page_cert.html">The basic certificate</a> for description and examples. </p>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="gafa02f22b6db5ca3c19a488066fea5d7a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafa02f22b6db5ca3c19a488066fea5d7a">&#9670;&nbsp;</a></span>hx509_cert_binary()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_binary </td>
+ <td class="memname">int hx509_cert_binary </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>c</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>c</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">heim_octet_string *&nbsp;</td>
- <td class="paramname"> <em>os</em></td><td>&nbsp;</td>
+ <td class="paramtype">heim_octet_string *&#160;</td>
+ <td class="paramname"><em>os</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Encodes the hx509 certificate as a DER encode binary.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>the certificate to encode. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>os</em>&nbsp;</td><td>the encode certificate, set to NULL, 0 on case of error. Free the os-&gt;data with <a class="el" href="group__hx509__misc.html#gba6d3eb6abde539a3191269f785e3e61">hx509_xfree()</a>.</td></tr>
+</div><div class="memdoc">
+<p>Encodes the hx509 certificate as a DER encode binary.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">c</td><td>the certificate to encode. </td></tr>
+ <tr><td class="paramname">os</td><td>the encode certificate, set to NULL, 0 on case of error. Free the os-&gt;data with <a class="el" href="group__hx509__misc.html#gaba6d3eb6abde539a3191269f785e3e61">hx509_xfree()</a>.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g1b329c40d7c17cc1b099ec0bd24d4dc9"></a><!-- doxytag: member="cert.c::hx509_cert_check_eku" ref="g1b329c40d7c17cc1b099ec0bd24d4dc9" args="(hx509_context context, hx509_cert cert, const heim_oid *eku, int allow_any_eku)" -->
+</div>
+<a id="ga1b329c40d7c17cc1b099ec0bd24d4dc9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1b329c40d7c17cc1b099ec0bd24d4dc9">&#9670;&nbsp;</a></span>hx509_cert_check_eku()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_check_eku </td>
+ <td class="memname">int hx509_cert_check_eku </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const heim_oid *&nbsp;</td>
- <td class="paramname"> <em>eku</em>, </td>
+ <td class="paramtype">const heim_oid *&#160;</td>
+ <td class="paramname"><em>eku</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">int&nbsp;</td>
- <td class="paramname"> <em>allow_any_eku</em></td><td>&nbsp;</td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>allow_any_eku</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Check the extended key usage on the hx509 certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>eku</em>&nbsp;</td><td>the EKU to check for </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>allow_any_eku</em>&nbsp;</td><td>if the any EKU is set, allow that to be a substitute.</td></tr>
+</div><div class="memdoc">
+<p>Check the extended key usage on the hx509 certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">cert</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">eku</td><td>the EKU to check for </td></tr>
+ <tr><td class="paramname">allow_any_eku</td><td>if the any EKU is set, allow that to be a substitute.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gb84ed704b59c7965a598ef9c7c353216"></a><!-- doxytag: member="cert.c::hx509_cert_cmp" ref="gb84ed704b59c7965a598ef9c7c353216" args="(hx509_cert p, hx509_cert q)" -->
+</div>
+<a id="gab84ed704b59c7965a598ef9c7c353216"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gab84ed704b59c7965a598ef9c7c353216">&#9670;&nbsp;</a></span>hx509_cert_cmp()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_cmp </td>
+ <td class="memname">int hx509_cert_cmp </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>q</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>q</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Compare to hx509 certificate object, useful for sorting.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>a hx509 certificate object.</td></tr>
+</div><div class="memdoc">
+<p>Compare to hx509 certificate object, useful for sorting.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">p</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">q</td><td>a hx509 certificate object.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 the objects are the same, returns &gt; 0 is p is "larger" then q, &lt; 0 if p is "smaller" then q. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>0 the objects are the same, returns &gt; 0 is p is "larger" then q, &lt; 0 if p is "smaller" then q. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g49e7c45c70442dcb81d394093d9cbe29"></a><!-- doxytag: member="cert.c::hx509_cert_find_subjectAltName_otherName" ref="g49e7c45c70442dcb81d394093d9cbe29" args="(hx509_context context, hx509_cert cert, const heim_oid *oid, hx509_octet_string_list *list)" -->
+</div>
+<a id="ga49e7c45c70442dcb81d394093d9cbe29"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga49e7c45c70442dcb81d394093d9cbe29">&#9670;&nbsp;</a></span>hx509_cert_find_subjectAltName_otherName()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_find_subjectAltName_otherName </td>
+ <td class="memname">int hx509_cert_find_subjectAltName_otherName </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const heim_oid *&nbsp;</td>
- <td class="paramname"> <em>oid</em>, </td>
+ <td class="paramtype">const heim_oid *&#160;</td>
+ <td class="paramname"><em>oid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_octet_string_list *&nbsp;</td>
- <td class="paramname"> <em>list</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_octet_string_list *&#160;</td>
+ <td class="paramname"><em>list</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Return a list of subjectAltNames specified by oid in the certificate. On error the<p>
-The returned list of octet string should be freed with <a class="el" href="group__hx509__misc.html#ga39b9443f688a6d9152ff6dc05f3be8e">hx509_free_octet_string_list()</a>.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>oid</em>&nbsp;</td><td>an oid to for SubjectAltName. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>list of matching SubjectAltName.</td></tr>
+</div><div class="memdoc">
+<p>Return a list of subjectAltNames specified by oid in the certificate. On error the</p>
+<p>The returned list of octet string should be freed with <a class="el" href="group__hx509__misc.html#gaa39b9443f688a6d9152ff6dc05f3be8e">hx509_free_octet_string_list()</a>.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">cert</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">oid</td><td>an oid to for SubjectAltName. </td></tr>
+ <tr><td class="paramname">list</td><td>list of matching SubjectAltName.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gd2f9bb0ddc4babb26a8ccd983db8c948"></a><!-- doxytag: member="cert.c::hx509_cert_free" ref="gd2f9bb0ddc4babb26a8ccd983db8c948" args="(hx509_cert cert)" -->
+</div>
+<a id="gad2f9bb0ddc4babb26a8ccd983db8c948"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad2f9bb0ddc4babb26a8ccd983db8c948">&#9670;&nbsp;</a></span>hx509_cert_free()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">void hx509_cert_free </td>
+ <td class="memname">void hx509_cert_free </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em> </td>
- <td>&nbsp;)&nbsp;</td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em></td><td>)</td>
<td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Free reference to the hx509 certificate object, if the refcounter reaches 0, the object if freed. Its allowed to pass in NULL.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>the cert to free. </td></tr>
+</div><div class="memdoc">
+<p>Free reference to the hx509 certificate object, if the refcounter reaches 0, the object if freed. Its allowed to pass in NULL.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">cert</td><td>the cert to free. </td></tr>
</table>
+ </dd>
</dl>
</div>
-</div><p>
-<a class="anchor" name="g2038342b93f828789a241a7fee26f4c8"></a><!-- doxytag: member="cert.c::hx509_cert_get_attribute" ref="g2038342b93f828789a241a7fee26f4c8" args="(hx509_cert cert, const heim_oid *oid)" -->
+</div>
+<a id="ga2038342b93f828789a241a7fee26f4c8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2038342b93f828789a241a7fee26f4c8">&#9670;&nbsp;</a></span>hx509_cert_get_attribute()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">hx509_cert_attribute hx509_cert_get_attribute </td>
+ <td class="memname">hx509_cert_attribute hx509_cert_get_attribute </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const heim_oid *&nbsp;</td>
- <td class="paramname"> <em>oid</em></td><td>&nbsp;</td>
+ <td class="paramtype">const heim_oid *&#160;</td>
+ <td class="paramname"><em>oid</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get an external attribute for the certificate, examples are friendly name and id.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>hx509 certificate object to search </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>oid</em>&nbsp;</td><td>an oid to search for.</td></tr>
+</div><div class="memdoc">
+<p>Get an external attribute for the certificate, examples are friendly name and id.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">cert</td><td>hx509 certificate object to search </td></tr>
+ <tr><td class="paramname">oid</td><td>an oid to search for.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>an hx509_cert_attribute, only valid as long as the certificate is referenced. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>an hx509_cert_attribute, only valid as long as the certificate is referenced. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g5e8e38603eb13753912b0075aab276cf"></a><!-- doxytag: member="cert.c::hx509_cert_get_base_subject" ref="g5e8e38603eb13753912b0075aab276cf" args="(hx509_context context, hx509_cert c, hx509_name *name)" -->
+</div>
+<a id="ga5e8e38603eb13753912b0075aab276cf"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5e8e38603eb13753912b0075aab276cf">&#9670;&nbsp;</a></span>hx509_cert_get_base_subject()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_base_subject </td>
+ <td class="memname">int hx509_cert_get_base_subject </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>c</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>c</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_name *&nbsp;</td>
- <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_name *&#160;</td>
+ <td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Return the name of the base subject of the hx509 certificate. If the certiicate is a verified proxy certificate, the this function return the base certificate (root of the proxy chain). If the proxy certificate is not verified with the base certificate HX509_PROXY_CERTIFICATE_NOT_CANONICALIZED is returned.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>a hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>a pointer to a hx509 name, should be freed by <a class="el" href="group__hx509__name.html#gaf351931efb02fc7aea736af9977155e">hx509_name_free()</a>. See also <a class="el" href="group__hx509__cert.html#g9f64bb8083bb535ccba007b723c73619">hx509_cert_get_subject()</a>.</td></tr>
+</div><div class="memdoc">
+<p>Return the name of the base subject of the hx509 certificate. If the certiicate is a verified proxy certificate, the this function return the base certificate (root of the proxy chain). If the proxy certificate is not verified with the base certificate HX509_PROXY_CERTIFICATE_NOT_CANONICALIZED is returned.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>a hx509 context. </td></tr>
+ <tr><td class="paramname">c</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">name</td><td>a pointer to a hx509 name, should be freed by <a class="el" href="group__hx509__name.html#gaaf351931efb02fc7aea736af9977155e">hx509_name_free()</a>. See also <a class="el" href="group__hx509__cert.html#ga9f64bb8083bb535ccba007b723c73619">hx509_cert_get_subject()</a>.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="ge2a1de96837304d68216c309e698c3fd"></a><!-- doxytag: member="cert.c::hx509_cert_get_friendly_name" ref="ge2a1de96837304d68216c309e698c3fd" args="(hx509_cert cert)" -->
+</div>
+<a id="gae2a1de96837304d68216c309e698c3fd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae2a1de96837304d68216c309e698c3fd">&#9670;&nbsp;</a></span>hx509_cert_get_friendly_name()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">const char* hx509_cert_get_friendly_name </td>
+ <td class="memname">const char* hx509_cert_get_friendly_name </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em> </td>
- <td>&nbsp;)&nbsp;</td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em></td><td>)</td>
<td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get friendly name of the certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>cert to get the friendly name from.</td></tr>
+</div><div class="memdoc">
+<p>Get friendly name of the certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">cert</td><td>cert to get the friendly name from.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>an friendly name or NULL if there is. The friendly name is only valid as long as the certificate is referenced. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>an friendly name or NULL if there is. The friendly name is only valid as long as the certificate is referenced. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g3c61a21c5a802b2f366c9610ff89fa90"></a><!-- doxytag: member="cert.c::hx509_cert_get_issuer" ref="g3c61a21c5a802b2f366c9610ff89fa90" args="(hx509_cert p, hx509_name *name)" -->
+</div>
+<a id="ga3c61a21c5a802b2f366c9610ff89fa90"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga3c61a21c5a802b2f366c9610ff89fa90">&#9670;&nbsp;</a></span>hx509_cert_get_issuer()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_issuer </td>
+ <td class="memname">int hx509_cert_get_issuer </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_name *&nbsp;</td>
- <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_name *&#160;</td>
+ <td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Return the name of the issuer of the hx509 certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>a pointer to a hx509 name, should be freed by <a class="el" href="group__hx509__name.html#gaf351931efb02fc7aea736af9977155e">hx509_name_free()</a>.</td></tr>
+</div><div class="memdoc">
+<p>Return the name of the issuer of the hx509 certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">p</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">name</td><td>a pointer to a hx509 name, should be freed by <a class="el" href="group__hx509__name.html#gaaf351931efb02fc7aea736af9977155e">hx509_name_free()</a>.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gc88fb8bf53b3e105f728251f6d4d4b1f"></a><!-- doxytag: member="cert.c::hx509_cert_get_issuer_unique_id" ref="gc88fb8bf53b3e105f728251f6d4d4b1f" args="(hx509_context context, hx509_cert p, heim_bit_string *issuer)" -->
+</div>
+<a id="gac88fb8bf53b3e105f728251f6d4d4b1f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac88fb8bf53b3e105f728251f6d4d4b1f">&#9670;&nbsp;</a></span>hx509_cert_get_issuer_unique_id()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_issuer_unique_id </td>
+ <td class="memname">int hx509_cert_get_issuer_unique_id </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">heim_bit_string *&nbsp;</td>
- <td class="paramname"> <em>issuer</em></td><td>&nbsp;</td>
+ <td class="paramtype">heim_bit_string *&#160;</td>
+ <td class="paramname"><em>issuer</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get a copy of the Issuer Unique ID<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>a hx509_context </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>issuer</em>&nbsp;</td><td>the issuer id returned, free with der_free_bit_string()</td></tr>
+</div><div class="memdoc">
+<p>Get a copy of the Issuer Unique ID</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>a hx509_context </td></tr>
+ <tr><td class="paramname">p</td><td>a hx509 certificate </td></tr>
+ <tr><td class="paramname">issuer</td><td>the issuer id returned, free with der_free_bit_string()</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. The error code HX509_EXTENSION_NOT_FOUND is returned if the certificate doesn't have a issuerUniqueID </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. The error code HX509_EXTENSION_NOT_FOUND is returned if the certificate doesn't have a issuerUniqueID </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gd3e8410e9bb4d0bf61bc3e926a4049eb"></a><!-- doxytag: member="cert.c::hx509_cert_get_notAfter" ref="gd3e8410e9bb4d0bf61bc3e926a4049eb" args="(hx509_cert p)" -->
+</div>
+<a id="gad3e8410e9bb4d0bf61bc3e926a4049eb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad3e8410e9bb4d0bf61bc3e926a4049eb">&#9670;&nbsp;</a></span>hx509_cert_get_notAfter()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">time_t hx509_cert_get_notAfter </td>
+ <td class="memname">time_t hx509_cert_get_notAfter </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em> </td>
- <td>&nbsp;)&nbsp;</td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em></td><td>)</td>
<td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get notAfter time of the certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object.</td></tr>
+</div><div class="memdoc">
+<p>Get notAfter time of the certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">p</td><td>a hx509 certificate object.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>return not after time. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>return not after time. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g2e36444c1bce8995ee193013364ce852"></a><!-- doxytag: member="cert.c::hx509_cert_get_notBefore" ref="g2e36444c1bce8995ee193013364ce852" args="(hx509_cert p)" -->
+</div>
+<a id="ga2e36444c1bce8995ee193013364ce852"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2e36444c1bce8995ee193013364ce852">&#9670;&nbsp;</a></span>hx509_cert_get_notBefore()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">time_t hx509_cert_get_notBefore </td>
+ <td class="memname">time_t hx509_cert_get_notBefore </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em> </td>
- <td>&nbsp;)&nbsp;</td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em></td><td>)</td>
<td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get notBefore time of the certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object.</td></tr>
+</div><div class="memdoc">
+<p>Get notBefore time of the certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">p</td><td>a hx509 certificate object.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>return not before time </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>return not before time </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g2960bea38768b49c8b949fe2ea5320e3"></a><!-- doxytag: member="cert.c::hx509_cert_get_serialnumber" ref="g2960bea38768b49c8b949fe2ea5320e3" args="(hx509_cert p, heim_integer *i)" -->
+</div>
+<a id="ga2960bea38768b49c8b949fe2ea5320e3"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga2960bea38768b49c8b949fe2ea5320e3">&#9670;&nbsp;</a></span>hx509_cert_get_serialnumber()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_serialnumber </td>
+ <td class="memname">int hx509_cert_get_serialnumber </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">heim_integer *&nbsp;</td>
- <td class="paramname"> <em>i</em></td><td>&nbsp;</td>
+ <td class="paramtype">heim_integer *&#160;</td>
+ <td class="paramname"><em>i</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get serial number of the certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>serial number, should be freed ith der_free_heim_integer().</td></tr>
+</div><div class="memdoc">
+<p>Get serial number of the certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">p</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">i</td><td>serial number, should be freed ith der_free_heim_integer().</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gc9e328025dd91339cf73eecdeec4ffd6"></a><!-- doxytag: member="cert.c::hx509_cert_get_SPKI" ref="gc9e328025dd91339cf73eecdeec4ffd6" args="(hx509_context context, hx509_cert p, SubjectPublicKeyInfo *spki)" -->
+</div>
+<a id="gac9e328025dd91339cf73eecdeec4ffd6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac9e328025dd91339cf73eecdeec4ffd6">&#9670;&nbsp;</a></span>hx509_cert_get_SPKI()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_SPKI </td>
+ <td class="memname">int hx509_cert_get_SPKI </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">SubjectPublicKeyInfo *&nbsp;</td>
- <td class="paramname"> <em>spki</em></td><td>&nbsp;</td>
+ <td class="paramtype">SubjectPublicKeyInfo *&#160;</td>
+ <td class="paramname"><em>spki</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get the SubjectPublicKeyInfo structure from the hx509 certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>a hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>spki</em>&nbsp;</td><td>SubjectPublicKeyInfo, should be freed with free_SubjectPublicKeyInfo().</td></tr>
+</div><div class="memdoc">
+<p>Get the SubjectPublicKeyInfo structure from the hx509 certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>a hx509 context. </td></tr>
+ <tr><td class="paramname">p</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">spki</td><td>SubjectPublicKeyInfo, should be freed with free_SubjectPublicKeyInfo().</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gc2fd6cd8b1fbe0d470a88143a359c395"></a><!-- doxytag: member="cert.c::hx509_cert_get_SPKI_AlgorithmIdentifier" ref="gc2fd6cd8b1fbe0d470a88143a359c395" args="(hx509_context context, hx509_cert p, AlgorithmIdentifier *alg)" -->
+</div>
+<a id="gac2fd6cd8b1fbe0d470a88143a359c395"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac2fd6cd8b1fbe0d470a88143a359c395">&#9670;&nbsp;</a></span>hx509_cert_get_SPKI_AlgorithmIdentifier()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_SPKI_AlgorithmIdentifier </td>
+ <td class="memname">int hx509_cert_get_SPKI_AlgorithmIdentifier </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">AlgorithmIdentifier *&nbsp;</td>
- <td class="paramname"> <em>alg</em></td><td>&nbsp;</td>
+ <td class="paramtype">AlgorithmIdentifier *&#160;</td>
+ <td class="paramname"><em>alg</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get the AlgorithmIdentifier from the hx509 certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>a hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>alg</em>&nbsp;</td><td>AlgorithmIdentifier, should be freed with free_AlgorithmIdentifier(). The algorithmidentifier is typicly rsaEncryption, or id-ecPublicKey, or some other public key mechanism.</td></tr>
+</div><div class="memdoc">
+<p>Get the AlgorithmIdentifier from the hx509 certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>a hx509 context. </td></tr>
+ <tr><td class="paramname">p</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">alg</td><td>AlgorithmIdentifier, should be freed with free_AlgorithmIdentifier(). The algorithmidentifier is typicly rsaEncryption, or id-ecPublicKey, or some other public key mechanism.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g9f64bb8083bb535ccba007b723c73619"></a><!-- doxytag: member="cert.c::hx509_cert_get_subject" ref="g9f64bb8083bb535ccba007b723c73619" args="(hx509_cert p, hx509_name *name)" -->
+</div>
+<a id="ga9f64bb8083bb535ccba007b723c73619"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga9f64bb8083bb535ccba007b723c73619">&#9670;&nbsp;</a></span>hx509_cert_get_subject()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_subject </td>
+ <td class="memname">int hx509_cert_get_subject </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_name *&nbsp;</td>
- <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_name *&#160;</td>
+ <td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Return the name of the subject of the hx509 certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate object. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>a pointer to a hx509 name, should be freed by <a class="el" href="group__hx509__name.html#gaf351931efb02fc7aea736af9977155e">hx509_name_free()</a>. See also <a class="el" href="group__hx509__cert.html#g5e8e38603eb13753912b0075aab276cf">hx509_cert_get_base_subject()</a>.</td></tr>
+</div><div class="memdoc">
+<p>Return the name of the subject of the hx509 certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">p</td><td>a hx509 certificate object. </td></tr>
+ <tr><td class="paramname">name</td><td>a pointer to a hx509 name, should be freed by <a class="el" href="group__hx509__name.html#gaaf351931efb02fc7aea736af9977155e">hx509_name_free()</a>. See also <a class="el" href="group__hx509__cert.html#ga5e8e38603eb13753912b0075aab276cf">hx509_cert_get_base_subject()</a>.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gc7184f4f0249842866d51b17e4b101fb"></a><!-- doxytag: member="cert.c::hx509_cert_get_subject_unique_id" ref="gc7184f4f0249842866d51b17e4b101fb" args="(hx509_context context, hx509_cert p, heim_bit_string *subject)" -->
+</div>
+<a id="gac7184f4f0249842866d51b17e4b101fb"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac7184f4f0249842866d51b17e4b101fb">&#9670;&nbsp;</a></span>hx509_cert_get_subject_unique_id()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_get_subject_unique_id </td>
+ <td class="memname">int hx509_cert_get_subject_unique_id </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>p</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>p</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">heim_bit_string *&nbsp;</td>
- <td class="paramname"> <em>subject</em></td><td>&nbsp;</td>
+ <td class="paramtype">heim_bit_string *&#160;</td>
+ <td class="paramname"><em>subject</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Get a copy of the Subect Unique ID<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>a hx509_context </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>a hx509 certificate </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>subject</em>&nbsp;</td><td>the subject id returned, free with der_free_bit_string()</td></tr>
+</div><div class="memdoc">
+<p>Get a copy of the Subect Unique ID</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>a hx509_context </td></tr>
+ <tr><td class="paramname">p</td><td>a hx509 certificate </td></tr>
+ <tr><td class="paramname">subject</td><td>the subject id returned, free with der_free_bit_string()</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. The error code HX509_EXTENSION_NOT_FOUND is returned if the certificate doesn't have a subjectUniqueID </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. The error code HX509_EXTENSION_NOT_FOUND is returned if the certificate doesn't have a subjectUniqueID </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g1aa420f664ce5933f8af4cf6c37fd6f6"></a><!-- doxytag: member="cert.c::hx509_cert_init" ref="g1aa420f664ce5933f8af4cf6c37fd6f6" args="(hx509_context context, const Certificate *c, hx509_cert *cert)" -->
+</div>
+<a id="ga31c3f5e9a6d7892729c56f0f86a76f4a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga31c3f5e9a6d7892729c56f0f86a76f4a">&#9670;&nbsp;</a></span>hx509_cert_init()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_init </td>
+ <td class="memname">hx509_cert hx509_cert_init </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const Certificate *&nbsp;</td>
- <td class="paramname"> <em>c</em>, </td>
+ <td class="paramtype">const Certificate *&#160;</td>
+ <td class="paramname"><em>c</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert *&nbsp;</td>
- <td class="paramname"> <em>cert</em></td><td>&nbsp;</td>
+ <td class="paramtype">heim_error_t *&#160;</td>
+ <td class="paramname"><em>error</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Allocate and init an hx509 certificate object from the decoded certificate `c´.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td></td></tr>
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td></td></tr>
+</div><div class="memdoc">
+<p>Allocate and init an hx509 certificate object from the decoded certificate `c´.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">c</td><td></td></tr>
+ <tr><td class="paramname">error</td><td></td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns an hx509 error code. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>Returns an hx509 certificate </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g479d8c1bf22aa8fdfa448bed1ec54d7b"></a><!-- doxytag: member="cert.c::hx509_cert_init_data" ref="g479d8c1bf22aa8fdfa448bed1ec54d7b" args="(hx509_context context, const void *ptr, size_t len, hx509_cert *cert)" -->
+</div>
+<a id="ga134b62e36ffcf09bbf866a88bc4c5010"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga134b62e36ffcf09bbf866a88bc4c5010">&#9670;&nbsp;</a></span>hx509_cert_init_data()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_init_data </td>
+ <td class="memname">hx509_cert hx509_cert_init_data </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const void *&nbsp;</td>
- <td class="paramname"> <em>ptr</em>, </td>
+ <td class="paramtype">const void *&#160;</td>
+ <td class="paramname"><em>ptr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">size_t&nbsp;</td>
- <td class="paramname"> <em>len</em>, </td>
+ <td class="paramtype">size_t&#160;</td>
+ <td class="paramname"><em>len</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert *&nbsp;</td>
- <td class="paramname"> <em>cert</em></td><td>&nbsp;</td>
+ <td class="paramtype">heim_error_t *&#160;</td>
+ <td class="paramname"><em>error</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Just like <a class="el" href="group__hx509__cert.html#g1aa420f664ce5933f8af4cf6c37fd6f6">hx509_cert_init()</a>, but instead of a decode certificate takes an pointer and length to a memory region that contains a DER/BER encoded certificate.<p>
-If the memory region doesn't contain just the certificate and nothing more the function will fail with HX509_EXTRA_DATA_AFTER_STRUCTURE.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>ptr</em>&nbsp;</td><td>pointer to memory region containing encoded certificate. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>length of memory region. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>a return pointer to a hx509 certificate object, will contain NULL on error.</td></tr>
+</div><div class="memdoc">
+<p>Just like <a class="el" href="group__hx509__cert.html#ga31c3f5e9a6d7892729c56f0f86a76f4a">hx509_cert_init()</a>, but instead of a decode certificate takes an pointer and length to a memory region that contains a DER/BER encoded certificate.</p>
+<p>If the memory region doesn't contain just the certificate and nothing more the function will fail with HX509_EXTRA_DATA_AFTER_STRUCTURE.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">ptr</td><td>pointer to memory region containing encoded certificate. </td></tr>
+ <tr><td class="paramname">len</td><td>length of memory region. </td></tr>
+ <tr><td class="paramname">error</td><td>possibly returns an error</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 certificate </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g1870b485d4e8e53f75690f35f4526fcc"></a><!-- doxytag: member="cert.c::hx509_cert_ref" ref="g1870b485d4e8e53f75690f35f4526fcc" args="(hx509_cert cert)" -->
+</div>
+<a id="ga1870b485d4e8e53f75690f35f4526fcc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga1870b485d4e8e53f75690f35f4526fcc">&#9670;&nbsp;</a></span>hx509_cert_ref()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">hx509_cert hx509_cert_ref </td>
+ <td class="memname">hx509_cert hx509_cert_ref </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em> </td>
- <td>&nbsp;)&nbsp;</td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em></td><td>)</td>
<td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Add a reference to a hx509 certificate object.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>a pointer to an hx509 certificate object.</td></tr>
+</div><div class="memdoc">
+<p>Add a reference to a hx509 certificate object.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">cert</td><td>a pointer to an hx509 certificate object.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>the same object as is passed in. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>the same object as is passed in. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g972768dbcc822fed1b74e7686b407f78"></a><!-- doxytag: member="cert.c::hx509_cert_set_friendly_name" ref="g972768dbcc822fed1b74e7686b407f78" args="(hx509_cert cert, const char *name)" -->
+</div>
+<a id="ga972768dbcc822fed1b74e7686b407f78"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga972768dbcc822fed1b74e7686b407f78">&#9670;&nbsp;</a></span>hx509_cert_set_friendly_name()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_cert_set_friendly_name </td>
+ <td class="memname">int hx509_cert_set_friendly_name </td>
<td>(</td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const char *&nbsp;</td>
- <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
+ <td class="paramtype">const char *&#160;</td>
+ <td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Set the friendly name on the certificate.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>The certificate to set the friendly name on </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>Friendly name.</td></tr>
+</div><div class="memdoc">
+<p>Set the friendly name on the certificate.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">cert</td><td>The certificate to set the friendly name on </td></tr>
+ <tr><td class="paramname">name</td><td>Friendly name.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g32a804b17d97d71af17602fdf6b1c891"></a><!-- doxytag: member="cert.c::hx509_print_cert" ref="g32a804b17d97d71af17602fdf6b1c891" args="(hx509_context context, hx509_cert cert, FILE *out)" -->
+</div>
+<a id="ga32a804b17d97d71af17602fdf6b1c891"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga32a804b17d97d71af17602fdf6b1c891">&#9670;&nbsp;</a></span>hx509_print_cert()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_print_cert </td>
+ <td class="memname">int hx509_print_cert </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em>, </td>
+ <td class="paramtype">hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">FILE *&nbsp;</td>
- <td class="paramname"> <em>out</em></td><td>&nbsp;</td>
+ <td class="paramtype">FILE *&#160;</td>
+ <td class="paramname"><em>out</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Print a simple representation of a certificate<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context, can be NULL </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>certificate to print </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>out</em>&nbsp;</td><td>the stdio output stream, if NULL, stdout is used</td></tr>
+</div><div class="memdoc">
+<p>Print a simple representation of a certificate</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context, can be NULL </td></tr>
+ <tr><td class="paramname">cert</td><td>certificate to print </td></tr>
+ <tr><td class="paramname">out</td><td>the stdio output stream, if NULL, stdout is used</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g5833168d3181e12883b51284fd069543"></a><!-- doxytag: member="cert.c::hx509_query_alloc" ref="g5833168d3181e12883b51284fd069543" args="(hx509_context context, hx509_query **q)" -->
+</div>
+<a id="ga5833168d3181e12883b51284fd069543"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5833168d3181e12883b51284fd069543">&#9670;&nbsp;</a></span>hx509_query_alloc()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_query_alloc </td>
+ <td class="memname">int hx509_query_alloc </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_query **&nbsp;</td>
- <td class="paramname"> <em>q</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_query **&#160;</td>
+ <td class="paramname"><em>q</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Allocate an query controller. Free using <a class="el" href="group__hx509__cert.html#g6aafd01e9215fef980a572b2c7289d8c">hx509_query_free()</a>.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>return pointer to a hx509_query.</td></tr>
+</div><div class="memdoc">
+<p>Allocate an query controller. Free using <a class="el" href="group__hx509__cert.html#ga6aafd01e9215fef980a572b2c7289d8c">hx509_query_free()</a>.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">q</td><td>return pointer to a hx509_query.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g6aafd01e9215fef980a572b2c7289d8c"></a><!-- doxytag: member="cert.c::hx509_query_free" ref="g6aafd01e9215fef980a572b2c7289d8c" args="(hx509_context context, hx509_query *q)" -->
+</div>
+<a id="ga6aafd01e9215fef980a572b2c7289d8c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga6aafd01e9215fef980a572b2c7289d8c">&#9670;&nbsp;</a></span>hx509_query_free()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">void hx509_query_free </td>
+ <td class="memname">void hx509_query_free </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_query *&nbsp;</td>
- <td class="paramname"> <em>q</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_query *&#160;</td>
+ <td class="paramname"><em>q</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Free the query controller.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>a pointer to the query controller. </td></tr>
+</div><div class="memdoc">
+<p>Free the query controller.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">q</td><td>a pointer to the query controller. </td></tr>
</table>
+ </dd>
</dl>
</div>
-</div><p>
-<a class="anchor" name="ge1660c0cf5a41f17db72a8c18e79c684"></a><!-- doxytag: member="cert.c::hx509_query_match_cmp_func" ref="ge1660c0cf5a41f17db72a8c18e79c684" args="(hx509_query *q, int(*func)(hx509_context, hx509_cert, void *), void *ctx)" -->
+</div>
+<a id="gae1660c0cf5a41f17db72a8c18e79c684"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gae1660c0cf5a41f17db72a8c18e79c684">&#9670;&nbsp;</a></span>hx509_query_match_cmp_func()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_query_match_cmp_func </td>
+ <td class="memname">int hx509_query_match_cmp_func </td>
<td>(</td>
- <td class="paramtype">hx509_query *&nbsp;</td>
- <td class="paramname"> <em>q</em>, </td>
+ <td class="paramtype">hx509_query *&#160;</td>
+ <td class="paramname"><em>q</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">int(*)(hx509_context, hx509_cert, void *)&nbsp;</td>
- <td class="paramname"> <em>func</em>, </td>
+ <td class="paramtype">int(*)(hx509_context, hx509_cert, void *)&#160;</td>
+ <td class="paramname"><em>func</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">void *&nbsp;</td>
- <td class="paramname"> <em>ctx</em></td><td>&nbsp;</td>
+ <td class="paramtype">void *&#160;</td>
+ <td class="paramname"><em>ctx</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Set the query controller to match using a specific match function.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>a hx509 query controller. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>func</em>&nbsp;</td><td>function to use for matching, if the argument is NULL, the match function is removed. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>ctx</em>&nbsp;</td><td>context passed to the function.</td></tr>
+</div><div class="memdoc">
+<p>Set the query controller to match using a specific match function.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">q</td><td>a hx509 query controller. </td></tr>
+ <tr><td class="paramname">func</td><td>function to use for matching, if the argument is NULL, the match function is removed. </td></tr>
+ <tr><td class="paramname">ctx</td><td>context passed to the function.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g5a7e01c75b7b8243356048a88133c2df"></a><!-- doxytag: member="cert.c::hx509_query_match_eku" ref="g5a7e01c75b7b8243356048a88133c2df" args="(hx509_query *q, const heim_oid *eku)" -->
+</div>
+<a id="ga5a7e01c75b7b8243356048a88133c2df"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5a7e01c75b7b8243356048a88133c2df">&#9670;&nbsp;</a></span>hx509_query_match_eku()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_query_match_eku </td>
+ <td class="memname">int hx509_query_match_eku </td>
<td>(</td>
- <td class="paramtype">hx509_query *&nbsp;</td>
- <td class="paramname"> <em>q</em>, </td>
+ <td class="paramtype">hx509_query *&#160;</td>
+ <td class="paramname"><em>q</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const heim_oid *&nbsp;</td>
- <td class="paramname"> <em>eku</em></td><td>&nbsp;</td>
+ <td class="paramtype">const heim_oid *&#160;</td>
+ <td class="paramname"><em>eku</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Set the query controller to require an one specific EKU (extended key usage). Any previous EKU matching is overwitten. If NULL is passed in as the eku, the EKU requirement is reset.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>a hx509 query controller. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>eku</em>&nbsp;</td><td>an EKU to match on.</td></tr>
+</div><div class="memdoc">
+<p>Set the query controller to require an one specific EKU (extended key usage). Any previous EKU matching is overwitten. If NULL is passed in as the eku, the EKU requirement is reset.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">q</td><td>a hx509 query controller. </td></tr>
+ <tr><td class="paramname">eku</td><td>an EKU to match on.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g5be7b5ece155f2577335b5575f141362"></a><!-- doxytag: member="cert.c::hx509_query_match_friendly_name" ref="g5be7b5ece155f2577335b5575f141362" args="(hx509_query *q, const char *name)" -->
+</div>
+<a id="ga5be7b5ece155f2577335b5575f141362"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5be7b5ece155f2577335b5575f141362">&#9670;&nbsp;</a></span>hx509_query_match_friendly_name()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_query_match_friendly_name </td>
+ <td class="memname">int hx509_query_match_friendly_name </td>
<td>(</td>
- <td class="paramtype">hx509_query *&nbsp;</td>
- <td class="paramname"> <em>q</em>, </td>
+ <td class="paramtype">hx509_query *&#160;</td>
+ <td class="paramname"><em>q</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const char *&nbsp;</td>
- <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
+ <td class="paramtype">const char *&#160;</td>
+ <td class="paramname"><em>name</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Set the query controller to match on a friendly name<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>a hx509 query controller. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>a friendly name to match on</td></tr>
+</div><div class="memdoc">
+<p>Set the query controller to match on a friendly name</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">q</td><td>a hx509 query controller. </td></tr>
+ <tr><td class="paramname">name</td><td>a friendly name to match on</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gd5d7a68cc8ca4c948ae99b7eb6f5bc2e"></a><!-- doxytag: member="cert.c::hx509_query_match_issuer_serial" ref="gd5d7a68cc8ca4c948ae99b7eb6f5bc2e" args="(hx509_query *q, const Name *issuer, const heim_integer *serialNumber)" -->
+</div>
+<a id="gad5d7a68cc8ca4c948ae99b7eb6f5bc2e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gad5d7a68cc8ca4c948ae99b7eb6f5bc2e">&#9670;&nbsp;</a></span>hx509_query_match_issuer_serial()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_query_match_issuer_serial </td>
+ <td class="memname">int hx509_query_match_issuer_serial </td>
<td>(</td>
- <td class="paramtype">hx509_query *&nbsp;</td>
- <td class="paramname"> <em>q</em>, </td>
+ <td class="paramtype">hx509_query *&#160;</td>
+ <td class="paramname"><em>q</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const Name *&nbsp;</td>
- <td class="paramname"> <em>issuer</em>, </td>
+ <td class="paramtype">const Name *&#160;</td>
+ <td class="paramname"><em>issuer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const heim_integer *&nbsp;</td>
- <td class="paramname"> <em>serialNumber</em></td><td>&nbsp;</td>
+ <td class="paramtype">const heim_integer *&#160;</td>
+ <td class="paramname"><em>serialNumber</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Set the issuer and serial number of match in the query controller. The function make copies of the isser and serial number.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>a hx509 query controller </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>issuer</em>&nbsp;</td><td>issuer to search for </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>serialNumber</em>&nbsp;</td><td>the serialNumber of the issuer.</td></tr>
+</div><div class="memdoc">
+<p>Set the issuer and serial number of match in the query controller. The function make copies of the isser and serial number.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">q</td><td>a hx509 query controller </td></tr>
+ <tr><td class="paramname">issuer</td><td>issuer to search for </td></tr>
+ <tr><td class="paramname">serialNumber</td><td>the serialNumber of the issuer.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="gc708daef26edff5fd36f4587e61a9914"></a><!-- doxytag: member="cert.c::hx509_query_match_option" ref="gc708daef26edff5fd36f4587e61a9914" args="(hx509_query *q, hx509_query_option option)" -->
+</div>
+<a id="gac708daef26edff5fd36f4587e61a9914"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gac708daef26edff5fd36f4587e61a9914">&#9670;&nbsp;</a></span>hx509_query_match_option()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">void hx509_query_match_option </td>
+ <td class="memname">void hx509_query_match_option </td>
<td>(</td>
- <td class="paramtype">hx509_query *&nbsp;</td>
- <td class="paramname"> <em>q</em>, </td>
+ <td class="paramtype">hx509_query *&#160;</td>
+ <td class="paramname"><em>q</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_query_option&nbsp;</td>
- <td class="paramname"> <em>option</em></td><td>&nbsp;</td>
+ <td class="paramtype">hx509_query_option&#160;</td>
+ <td class="paramname"><em>option</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Set match options for the hx509 query controller.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>query controller. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>option</em>&nbsp;</td><td>options to control the query controller.</td></tr>
+</div><div class="memdoc">
+<p>Set match options for the hx509 query controller.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">q</td><td>query controller. </td></tr>
+ <tr><td class="paramname">option</td><td>options to control the query controller.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g94b4aa7d907d34914e161831e74440a8"></a><!-- doxytag: member="cert.c::hx509_query_statistic_file" ref="g94b4aa7d907d34914e161831e74440a8" args="(hx509_context context, const char *fn)" -->
+</div>
+<a id="ga94b4aa7d907d34914e161831e74440a8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga94b4aa7d907d34914e161831e74440a8">&#9670;&nbsp;</a></span>hx509_query_statistic_file()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">void hx509_query_statistic_file </td>
+ <td class="memname">void hx509_query_statistic_file </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const char *&nbsp;</td>
- <td class="paramname"> <em>fn</em></td><td>&nbsp;</td>
+ <td class="paramtype">const char *&#160;</td>
+ <td class="paramname"><em>fn</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Set a statistic file for the query statistics.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>fn</em>&nbsp;</td><td>statistics file name </td></tr>
+</div><div class="memdoc">
+<p>Set a statistic file for the query statistics.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">fn</td><td>statistics file name </td></tr>
</table>
+ </dd>
</dl>
</div>
-</div><p>
-<a class="anchor" name="g522fb2a85515ce8debea860cdfeb94c0"></a><!-- doxytag: member="cert.c::hx509_query_unparse_stats" ref="g522fb2a85515ce8debea860cdfeb94c0" args="(hx509_context context, int printtype, FILE *out)" -->
+</div>
+<a id="ga522fb2a85515ce8debea860cdfeb94c0"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga522fb2a85515ce8debea860cdfeb94c0">&#9670;&nbsp;</a></span>hx509_query_unparse_stats()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">void hx509_query_unparse_stats </td>
+ <td class="memname">void hx509_query_unparse_stats </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">int&nbsp;</td>
- <td class="paramname"> <em>printtype</em>, </td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>printtype</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">FILE *&nbsp;</td>
- <td class="paramname"> <em>out</em></td><td>&nbsp;</td>
+ <td class="paramtype">FILE *&#160;</td>
+ <td class="paramname"><em>out</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Unparse the statistics file and print the result on a FILE descriptor.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>printtype</em>&nbsp;</td><td>tyep to print </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>out</em>&nbsp;</td><td>the FILE to write the data on. </td></tr>
+</div><div class="memdoc">
+<p>Unparse the statistics file and print the result on a FILE descriptor.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">printtype</td><td>tyep to print </td></tr>
+ <tr><td class="paramname">out</td><td>the FILE to write the data on. </td></tr>
</table>
+ </dd>
</dl>
</div>
-</div><p>
-<a class="anchor" name="gfb8063ac0396ad60392b8b9554c6b896"></a><!-- doxytag: member="cert.c::hx509_verify_ctx_f_allow_default_trustanchors" ref="gfb8063ac0396ad60392b8b9554c6b896" args="(hx509_verify_ctx ctx, int boolean)" -->
+</div>
+<a id="gafb8063ac0396ad60392b8b9554c6b896"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#gafb8063ac0396ad60392b8b9554c6b896">&#9670;&nbsp;</a></span>hx509_verify_ctx_f_allow_default_trustanchors()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">void hx509_verify_ctx_f_allow_default_trustanchors </td>
+ <td class="memname">void hx509_verify_ctx_f_allow_default_trustanchors </td>
<td>(</td>
- <td class="paramtype">hx509_verify_ctx&nbsp;</td>
- <td class="paramname"> <em>ctx</em>, </td>
+ <td class="paramtype">hx509_verify_ctx&#160;</td>
+ <td class="paramname"><em>ctx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">int&nbsp;</td>
- <td class="paramname"> <em>boolean</em></td><td>&nbsp;</td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>boolean</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Allow using the operating system builtin trust anchors if no other trust anchors are configured.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>ctx</em>&nbsp;</td><td>a verification context </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>boolean</em>&nbsp;</td><td>if non zero, useing the operating systems builtin trust anchors.</td></tr>
+</div><div class="memdoc">
+<p>Allow using the operating system builtin trust anchors if no other trust anchors are configured.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">ctx</td><td>a verification context </td></tr>
+ <tr><td class="paramname">boolean</td><td>if non zero, useing the operating systems builtin trust anchors.</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
-<a class="anchor" name="g5dc160f02aeffffb0eea58b6203c856a"></a><!-- doxytag: member="cert.c::hx509_verify_hostname" ref="g5dc160f02aeffffb0eea58b6203c856a" args="(hx509_context context, const hx509_cert cert, int flags, hx509_hostname_type type, const char *hostname, const struct sockaddr *sa, int sa_size)" -->
+</div>
+<a id="ga5dc160f02aeffffb0eea58b6203c856a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ga5dc160f02aeffffb0eea58b6203c856a">&#9670;&nbsp;</a></span>hx509_verify_hostname()</h2>
+
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">int hx509_verify_hostname </td>
+ <td class="memname">int hx509_verify_hostname </td>
<td>(</td>
- <td class="paramtype">hx509_context&nbsp;</td>
- <td class="paramname"> <em>context</em>, </td>
+ <td class="paramtype">hx509_context&#160;</td>
+ <td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const hx509_cert&nbsp;</td>
- <td class="paramname"> <em>cert</em>, </td>
+ <td class="paramtype">const hx509_cert&#160;</td>
+ <td class="paramname"><em>cert</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">int&nbsp;</td>
- <td class="paramname"> <em>flags</em>, </td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>flags</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">hx509_hostname_type&nbsp;</td>
- <td class="paramname"> <em>type</em>, </td>
+ <td class="paramtype">hx509_hostname_type&#160;</td>
+ <td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const char *&nbsp;</td>
- <td class="paramname"> <em>hostname</em>, </td>
+ <td class="paramtype">const char *&#160;</td>
+ <td class="paramname"><em>hostname</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">const struct sockaddr *&nbsp;</td>
- <td class="paramname"> <em>sa</em>, </td>
+ <td class="paramtype">const struct sockaddr *&#160;</td>
+ <td class="paramname"><em>sa</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
- <td class="paramtype">int&nbsp;</td>
- <td class="paramname"> <em>sa_size</em></td><td>&nbsp;</td>
+ <td class="paramtype">int&#160;</td>
+ <td class="paramname"><em>sa_size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
- <td></td><td></td><td></td>
+ <td></td><td></td>
</tr>
</table>
-</div>
-<div class="memdoc">
-
-<p>
-Verify that the certificate is allowed to be used for the hostname and address.<p>
-<dl compact><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>A hx509 context. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>cert</em>&nbsp;</td><td>the certificate to match with </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>flags</em>&nbsp;</td><td>Flags to modify the behavior:<ul>
-<li>HX509_VHN_F_ALLOW_NO_MATCH no match is ok </li></ul>
+</div><div class="memdoc">
+<p>Verify that the certificate is allowed to be used for the hostname and address.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">context</td><td>A hx509 context. </td></tr>
+ <tr><td class="paramname">cert</td><td>the certificate to match with </td></tr>
+ <tr><td class="paramname">flags</td><td>Flags to modify the behavior:<ul>
+<li>HX509_VHN_F_ALLOW_NO_MATCH no match is ok </li>
+</ul>
</td></tr>
- <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>type of hostname:<ul>
-<li>HX509_HN_HOSTNAME for plain hostname.</li><li>HX509_HN_DNSSRV for DNS SRV names. </li></ul>
+ <tr><td class="paramname">type</td><td>type of hostname:<ul>
+<li>HX509_HN_HOSTNAME for plain hostname.</li>
+<li>HX509_HN_DNSSRV for DNS SRV names. </li>
+</ul>
</td></tr>
- <tr><td valign="top"></td><td valign="top"><em>hostname</em>&nbsp;</td><td>the hostname to check </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>sa</em>&nbsp;</td><td>address of the host </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>sa_size</em>&nbsp;</td><td>length of address</td></tr>
+ <tr><td class="paramname">hostname</td><td>the hostname to check </td></tr>
+ <tr><td class="paramname">sa</td><td>address of the host </td></tr>
+ <tr><td class="paramname">sa_size</td><td>length of address</td></tr>
</table>
+ </dd>
</dl>
-<dl class="return" compact><dt><b>Returns:</b></dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#g15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
+<dl class="section return"><dt>Returns</dt><dd>An hx509 error code, see <a class="el" href="group__hx509__error.html#ga15791abff76719acb531223fdcbcac87">hx509_get_error_string()</a>. </dd></dl>
</div>
-</div><p>
</div>
+</div><!-- contents -->
<hr size="1"><address style="text-align: right;"><small>
-Generated on Wed Jan 11 14:07:40 2012 for Heimdalx509library by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
+Generated on Fri Dec 8 2017 03:48:58 for Heimdalx509library by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.8.13</small></address>
</body>
</html>