blob: ec8ea233cbf30d35ffcf9902e8cabcfcfb96e8ff [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Rampart/C: rampart_crypto_util.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="dir_2ab6243317ac98a7842daf660931c511.html">include</a>
</div>
</div>
<div class="contents">
<h1>rampart_crypto_util.h File Reference</h1>Crypto related utility module. <a href="#_details">More...</a>
<p>
<code>#include &lt;axutil_utils_defines.h&gt;</code><br>
<code>#include &lt;axis2_defines.h&gt;</code><br>
<code>#include &lt;axutil_env.h&gt;</code><br>
<p>
<a href="rampart__crypto__util_8h-source.html">Go to the source code of this file.</a><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">AXIS2_EXTERN axis2_char_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="rampart__crypto__util_8h.html#fe13e5f1d43c8279552d000ce0def9ea">rampart_crypto_sha1</a> (const axutil_env_t *env, const axis2_char_t *nonce, const axis2_char_t *created, const axis2_char_t *password)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Crypto related utility module.
<p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="fe13e5f1d43c8279552d000ce0def9ea"></a><!-- doxytag: member="rampart_crypto_util.h::rampart_crypto_sha1" ref="fe13e5f1d43c8279552d000ce0def9ea" args="(const axutil_env_t *env, const axis2_char_t *nonce, const axis2_char_t *created, const axis2_char_t *password)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">AXIS2_EXTERN axis2_char_t* rampart_crypto_sha1 </td>
<td>(</td>
<td class="paramtype">const axutil_env_t *&nbsp;</td>
<td class="paramname"> <em>env</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const axis2_char_t *&nbsp;</td>
<td class="paramname"> <em>nonce</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const axis2_char_t *&nbsp;</td>
<td class="paramname"> <em>created</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const axis2_char_t *&nbsp;</td>
<td class="paramname"> <em>password</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Calculate the hash of concatenated string of nonce+created+password <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>pointer to environment variable </td></tr>
<tr><td valign="top"></td><td valign="top"><em>nonce</em>&nbsp;</td><td>randomly created bytes </td></tr>
<tr><td valign="top"></td><td valign="top"><em>created</em>&nbsp;</td><td>created time </td></tr>
<tr><td valign="top"></td><td valign="top"><em>password</em>&nbsp;</td><td>password to be hashed </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>calculated hash on success. NULL otherwise </dd></dl>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 13 10:52:54 2009 for Rampart/C by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>