1<!-- HTML header for doxygen 1.8.10--> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4<head> 5<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 6<meta http-equiv="X-UA-Compatible" content="IE=9"/> 7<meta name="generator" content="Doxygen 1.8.14"/> 8<title>Intel® Enhanced Privacy ID SDK: epid/common/file_parser.h File Reference</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="navtree.css" rel="stylesheet" type="text/css"/> 13<script type="text/javascript" src="resize.js"></script> 14<script type="text/javascript" src="navtreedata.js"></script> 15<script type="text/javascript" src="navtree.js"></script> 16<script type="text/javascript"> 17/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 18 $(document).ready(initResizable); 19/* @license-end */</script> 20<link href="doxygen.css" rel="stylesheet" type="text/css" /> 21<link href="epidstyle.css" rel="stylesheet" type="text/css"/> 22</head> 23<body> 24<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 25<div id="titlearea"> 26<table cellspacing="0" cellpadding="0"> 27 <tbody> 28 <tr style="height: 56px;"> 29 <td id="projectalign" style="padding-left: 0.5em;"> 30 <div id="projectname"><a 31 onclick="storeLink('index.html')" 32 id="projectlink" 33 class="index.html" 34 href="index.html">Intel® Enhanced Privacy ID SDK</a> 35 <span id="projectnumber">6.0.1</span> 36</div> 37 </td> 38 </tr> 39 </tbody> 40</table> 41</div> 42<!-- end header part --> 43<!-- Generated by Doxygen 1.8.14 --> 44</div><!-- top --> 45<div id="side-nav" class="ui-resizable side-nav-resizable"> 46 <div id="nav-tree"> 47 <div id="nav-tree-contents"> 48 <div id="nav-sync" class="sync"></div> 49 </div> 50 </div> 51 <div id="splitbar" style="-moz-user-select:none;" 52 class="ui-resizable-handle"> 53 </div> 54</div> 55<script type="text/javascript"> 56/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ 57$(document).ready(function(){initNavTree('file__parser_8h.html','');}); 58/* @license-end */ 59</script> 60<div id="doc-content"> 61<div class="header"> 62 <div class="summary"> 63<a href="#nested-classes">Data Structures</a> | 64<a href="#enum-members">Enumerations</a> | 65<a href="#func-members">Functions</a> | 66<a href="#var-members">Variables</a> </div> 67 <div class="headertitle"> 68<div class="title">file_parser.h File Reference</div> </div> 69</div><!--header--> 70<div class="contents"> 71 72<p>Intel(R) EPID issuer material parsing utilities. 73<a href="#details">More...</a></p> 74<div class="textblock"><code>#include <stddef.h></code><br /> 75<code>#include "<a class="el" href="errors_8h.html">epid/common/errors.h</a>"</code><br /> 76<code>#include "<a class="el" href="types_8h.html">epid/common/types.h</a>"</code><br /> 77</div><table class="memberdecls"> 78<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> 79Data Structures</h2></td></tr> 80<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_epid_file_header.html">EpidFileHeader</a></td></tr> 81<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Intel(R) EPID binary file header. <a href="struct_epid_file_header.html#details">More...</a><br /></td></tr> 82<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 83<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_epid_ca_certificate.html">EpidCaCertificate</a></td></tr> 84<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">IoT CA Certificate binary format. <a href="struct_epid_ca_certificate.html#details">More...</a><br /></td></tr> 85<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 86</table><table class="memberdecls"> 87<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> 88Enumerations</h2></td></tr> 89<tr class="memitem:ga1562efc7c1891875d6b2b9180d65de9d"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#ga1562efc7c1891875d6b2b9180d65de9d">EpidVersion</a> { <a class="el" href="group___file_parser.html#gga1562efc7c1891875d6b2b9180d65de9da5f270e2e8c2412bc07de293023f425cc">kEpid1x</a>, 90<a class="el" href="group___file_parser.html#gga1562efc7c1891875d6b2b9180d65de9da6af0ee9d9689f1d4325bdd0beb8a89e2">kEpid2x</a>, 91<a class="el" href="group___file_parser.html#gga1562efc7c1891875d6b2b9180d65de9da8bbd27765997dd10f1c0378dbecef01d">kNumEpidVersions</a> 92 }</td></tr> 93<tr class="memdesc:ga1562efc7c1891875d6b2b9180d65de9d"><td class="mdescLeft"> </td><td class="mdescRight">Recognized Intel(R) EPID versions. <a href="group___file_parser.html#ga1562efc7c1891875d6b2b9180d65de9d">More...</a><br /></td></tr> 94<tr class="separator:ga1562efc7c1891875d6b2b9180d65de9d"><td class="memSeparator" colspan="2"> </td></tr> 95<tr class="memitem:ga9a33be7edc6b4c7a867fb07bd2bddecb"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#ga9a33be7edc6b4c7a867fb07bd2bddecb">EpidFileType</a> { <br /> 96  <a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecbac24554caafe2db01e2daed413188cd92">kIssuingCaPubKeyFile</a>, 97<a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecba1f8d8c4b253403a35c51e05d34a7ca1e">kGroupPubKeyFile</a>, 98<a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecba692b4141bff8225bee6000750b0da322">kPrivRlFile</a>, 99<a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecba8aead4b6aab87a1efb2d7e8c77a9b710">kSigRlFile</a>, 100<br /> 101  <a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecba8e5247daee3999540e6cb24d4c2b3770">kGroupRlFile</a>, 102<a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecbac708ba9e56eaeac0f1256457cbd45911">kPrivRlRequestFile</a>, 103<a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecbac52e5fe24a12424316f655b9b7c62600">kSigRlRequestFile</a>, 104<a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecbab772fa1e3f221af125ffb34b86b3f24c">kGroupRlRequestFile</a>, 105<br /> 106  <a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecbac6d742ea3dd3b17f6d763970ac84b811">kNumFileTypes</a> 107<br /> 108 }</td></tr> 109<tr class="memdesc:ga9a33be7edc6b4c7a867fb07bd2bddecb"><td class="mdescLeft"> </td><td class="mdescRight">Recognized Intel(R) EPID file types. <a href="group___file_parser.html#ga9a33be7edc6b4c7a867fb07bd2bddecb">More...</a><br /></td></tr> 110<tr class="separator:ga9a33be7edc6b4c7a867fb07bd2bddecb"><td class="memSeparator" colspan="2"> </td></tr> 111</table><table class="memberdecls"> 112<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> 113Functions</h2></td></tr> 114<tr class="memitem:ga8e38d1102eb1dd9b5af2e2f79236da55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#ga8e38d1102eb1dd9b5af2e2f79236da55">EpidParseFileHeader</a> (void const *buf, size_t len, <a class="el" href="group___file_parser.html#ga1562efc7c1891875d6b2b9180d65de9d">EpidVersion</a> *epid_version, <a class="el" href="group___file_parser.html#ga9a33be7edc6b4c7a867fb07bd2bddecb">EpidFileType</a> *file_type)</td></tr> 115<tr class="memdesc:ga8e38d1102eb1dd9b5af2e2f79236da55"><td class="mdescLeft"> </td><td class="mdescRight">Extracts Intel(R) EPID Binary Output File header information. <a href="group___file_parser.html#ga8e38d1102eb1dd9b5af2e2f79236da55">More...</a><br /></td></tr> 116<tr class="separator:ga8e38d1102eb1dd9b5af2e2f79236da55"><td class="memSeparator" colspan="2"> </td></tr> 117<tr class="memitem:ga43fdbc1bf2edd3695d21cb457365afbb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#ga43fdbc1bf2edd3695d21cb457365afbb">EpidParseGroupPubKeyFile</a> (void const *buf, size_t len, <a class="el" href="struct_epid_ca_certificate.html">EpidCaCertificate</a> const *cert, <a class="el" href="struct_group_pub_key.html">GroupPubKey</a> *pubkey)</td></tr> 118<tr class="memdesc:ga43fdbc1bf2edd3695d21cb457365afbb"><td class="mdescLeft"> </td><td class="mdescRight">Extracts group public key from buffer in issuer binary format. <a href="group___file_parser.html#ga43fdbc1bf2edd3695d21cb457365afbb">More...</a><br /></td></tr> 119<tr class="separator:ga43fdbc1bf2edd3695d21cb457365afbb"><td class="memSeparator" colspan="2"> </td></tr> 120<tr class="memitem:gadc033fb23e3cbda56aa7e3d412060b7e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#gadc033fb23e3cbda56aa7e3d412060b7e">EpidParsePrivRlFile</a> (void const *buf, size_t len, <a class="el" href="struct_epid_ca_certificate.html">EpidCaCertificate</a> const *cert, <a class="el" href="struct_priv_rl.html">PrivRl</a> *rl, size_t *rl_len)</td></tr> 121<tr class="memdesc:gadc033fb23e3cbda56aa7e3d412060b7e"><td class="mdescLeft"> </td><td class="mdescRight">Extracts private key revocation list from buffer in issuer binary format. <a href="group___file_parser.html#gadc033fb23e3cbda56aa7e3d412060b7e">More...</a><br /></td></tr> 122<tr class="separator:gadc033fb23e3cbda56aa7e3d412060b7e"><td class="memSeparator" colspan="2"> </td></tr> 123<tr class="memitem:ga237ef5a43076aa6fc6eb18829a93da3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#ga237ef5a43076aa6fc6eb18829a93da3f">EpidParseSigRlFile</a> (void const *buf, size_t len, <a class="el" href="struct_epid_ca_certificate.html">EpidCaCertificate</a> const *cert, <a class="el" href="struct_sig_rl.html">SigRl</a> *rl, size_t *rl_len)</td></tr> 124<tr class="memdesc:ga237ef5a43076aa6fc6eb18829a93da3f"><td class="mdescLeft"> </td><td class="mdescRight">Extracts signature revocation list from buffer in issuer binary format. <a href="group___file_parser.html#ga237ef5a43076aa6fc6eb18829a93da3f">More...</a><br /></td></tr> 125<tr class="separator:ga237ef5a43076aa6fc6eb18829a93da3f"><td class="memSeparator" colspan="2"> </td></tr> 126<tr class="memitem:gad767f72dc55307b872a8b5600da3fd6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___error_codes.html#gafdb27c77c2c4b32c807e326a8a0da360">EpidStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#gad767f72dc55307b872a8b5600da3fd6f">EpidParseGroupRlFile</a> (void const *buf, size_t len, <a class="el" href="struct_epid_ca_certificate.html">EpidCaCertificate</a> const *cert, <a class="el" href="struct_group_rl.html">GroupRl</a> *rl, size_t *rl_len)</td></tr> 127<tr class="memdesc:gad767f72dc55307b872a8b5600da3fd6f"><td class="mdescLeft"> </td><td class="mdescRight">Extracts group revocation list from buffer in issuer binary format. <a href="group___file_parser.html#gad767f72dc55307b872a8b5600da3fd6f">More...</a><br /></td></tr> 128<tr class="separator:gad767f72dc55307b872a8b5600da3fd6f"><td class="memSeparator" colspan="2"> </td></tr> 129</table><table class="memberdecls"> 130<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> 131Variables</h2></td></tr> 132<tr class="memitem:gaae808987ce82188dff42baa4e43cab82"><td class="memItemLeft" align="right" valign="top"> 133const <a class="el" href="struct_oct_str16.html">OctStr16</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#gaae808987ce82188dff42baa4e43cab82">kEpidVersionCode</a> [<a class="el" href="group___file_parser.html#gga1562efc7c1891875d6b2b9180d65de9da8bbd27765997dd10f1c0378dbecef01d">kNumEpidVersions</a>]</td></tr> 134<tr class="memdesc:gaae808987ce82188dff42baa4e43cab82"><td class="mdescLeft"> </td><td class="mdescRight">Encoding of issuer material Intel(R) EPID versions. <br /></td></tr> 135<tr class="separator:gaae808987ce82188dff42baa4e43cab82"><td class="memSeparator" colspan="2"> </td></tr> 136<tr class="memitem:ga3770c39a0546c79447c9d4159d794c33"><td class="memItemLeft" align="right" valign="top"> 137const <a class="el" href="struct_oct_str16.html">OctStr16</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___file_parser.html#ga3770c39a0546c79447c9d4159d794c33">kEpidFileTypeCode</a> [<a class="el" href="group___file_parser.html#gga9a33be7edc6b4c7a867fb07bd2bddecbac6d742ea3dd3b17f6d763970ac84b811">kNumFileTypes</a>]</td></tr> 138<tr class="memdesc:ga3770c39a0546c79447c9d4159d794c33"><td class="mdescLeft"> </td><td class="mdescRight">Encoding of issuer material file types. <br /></td></tr> 139<tr class="separator:ga3770c39a0546c79447c9d4159d794c33"><td class="memSeparator" colspan="2"> </td></tr> 140</table> 141<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 142<div class="textblock"><p>Intel(R) EPID issuer material parsing utilities. </p> 143</div></div><!-- contents --> 144</div><!-- doc-content --> 145<!-- HTML footer for doxygen 1.8.10--> 146<!-- start footer part --> 147<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> 148 <ul> 149 <li class="navelem"><a class="el" href="dir_12b90d9c027aaf878a834df729679a56.html">epid</a></li><li class="navelem"><a class="el" href="dir_f6bef457d5f671b6e774bfccc16651f6.html">common</a></li><li class="navelem"><a class="el" href="file__parser_8h.html">file_parser.h</a></li> 150 <li class="footer"> 151 © 2016-2017 Intel Corporation 152 </li> 153 </ul> 154</div> 155</body> 156</html> 157