Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > by-pkgid > 6caf89d6058be61a29c2b51699b44d30 > files > 10

lib64opendkim-devel-2.5.1-1.x86_64.rpm

<html>
<head><title>dkim_alg_t</title></head>
<body>
<!--
$Id: dkim_alg_t.html,v 1.2 2010/07/24 04:52:15 cm-msk Exp $
-->
<h1>dkim_alg_t</h1>
<p align="right"><a href="index.html">[back to index]</a></p>

<table border="0" cellspacing=4 cellpadding=4>
<!----------- Description ---------->
<tr><th valign="top" align=left>DESCRIPTION</th><td>
<table border="1" cellspacing=1 cellpadding=4>
<tr align="left" valign=top>
<th width="80">Purpose</th>
<td>A <tt>dkim_alg_t</tt> is a value from an enumerated list of the possible
    message signing algorithms available.  It is passed as a parameter to
    <a href="dkim_sign.html"><tt>dkim_sign()</tt></a> when selecting a signing
    algorithm to be used to sign a message.  It need not be passed to
    <a href="dkim_verify.html"><tt>dkim_verify()</tt></a> as that function
    will determine the signing algorithm for verification based on the
    signature on an arriving message.</td>
</tr>
<tr align="left" valign=top>
<th width="80">Possible Values</th>
<td>
<ul>
<li> <tt>DKIM_SIGN_RSASHA1</tt> -- use an RSA-signed SHA1 hash of the message's
     headers and body
<li> <tt>DKIM_SIGN_RSASHA256</tt> -- use an RSA-signed SHA256 hash of the
     message's headers and body
</ul>
</td>
</tr>
</table>

<!----------- Notes ---------->
<tr>
<th valign="top" align=left>NOTES</th> 
<td>
<ul>
<li><tt>DKIM_SIGN_RSASHA256</tt> is only available if the <b>OpenSSL</b>
    available at compile-time supported the SHA256 algorithm.
</ul>
</td>
</tr>
</table>

<hr size="1">
<font size="-1">
Copyright (c) 2005-2007 Sendmail, Inc. and its suppliers.
All rights reserved.
<br>
Copyright (c) 2009, 2010, The OpenDKIM Project.  All rights reserved.

<br>
By using this file, you agree to the terms and conditions set
forth in the respective licenses.
</font>
</body>
</html>