<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crypto++: TemplateOAEP< H, MGF > class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>OAEP< H, MGF > Class Template Reference</h1><code>#include <<a class="el" href="oaep_8h-source.html">oaep.h</a>></code> <p> <p>Inheritance diagram for OAEP< H, MGF >: <p><center><img src="class_o_a_e_p.png" usemap="#OAEP< H, MGF >_map" border="0" alt=""></center> <map name="OAEP< H, MGF >_map"> <area href="class_o_a_e_p___base.html" alt="OAEP_Base" shape="rect" coords="0,56,242,80"> <area href="struct_encryption_standard.html" alt="EncryptionStandard" shape="rect" coords="252,56,494,80"> <area href="class_p_k___encryption_message_encoding_method.html" alt="PK_EncryptionMessageEncodingMethod" shape="rect" coords="0,0,242,24"> </map> <a href="class_o_a_e_p-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class H, class MGF = P1363_MGF1><br> class OAEP< H, MGF ></h3> <a href="http://www.weidai.com/scan-mirror/ca.html#cem_OAEP-MGF1">EME-OAEP</a>, for use with classes derived from <a class="el" href="class_t_f___e_s.html">TF_ES</a> <p> <p> Definition at line <a class="el" href="oaep_8h-source.html#l00026">26</a> of file <a class="el" href="oaep_8h-source.html">oaep.h</a>.<table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_pw0" doxytag="OAEP::EncryptionMessageEncodingMethod" ></a> typedef <a class="el" href="class_o_a_e_p.html">OAEP</a>< H, MGF > </td><td class="memItemRight" valign=bottom><b>EncryptionMessageEncodingMethod</b></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_p___basea0" doxytag="OAEP::ParameterSupported" ></a> bool </td><td class="memItemRight" valign=bottom><b>ParameterSupported</b> (const char *name) const</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_p___basea1" doxytag="OAEP::MaxUnpaddedLength" ></a> unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="class_o_a_e_p___base.html#_o_a_e_p___basea1">MaxUnpaddedLength</a> (unsigned int paddedLength) const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">max size of unpadded message in bytes, given max size of padded message in bits (1 less than size of modulus) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_p___basea2" doxytag="OAEP::Pad" ></a> void </td><td class="memItemRight" valign=bottom><b>Pad</b> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &rng, const byte *raw, unsigned int inputLength, byte *padded, unsigned int paddedLength, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &parameters) const</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_p___basea3" doxytag="OAEP::Unpad" ></a> <a class="el" href="struct_decoding_result.html">DecodingResult</a> </td><td class="memItemRight" valign=bottom><b>Unpad</b> (const byte *padded, unsigned int paddedLength, byte *raw, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &parameters) const</td></tr> <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_pe0" doxytag="OAEP::StaticAlgorithmName" ></a> std::string </td><td class="memItemRight" valign=bottom><b>StaticAlgorithmName</b> ()</td></tr> <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_pb0" doxytag="OAEP::DigestSize" ></a> unsigned int </td><td class="memItemRight" valign=bottom><b>DigestSize</b> () const</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_pb1" doxytag="OAEP::NewHash" ></a> <a class="el" href="class_hash_transformation.html">HashTransformation</a> * </td><td class="memItemRight" valign=bottom><b>NewHash</b> () const</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_o_a_e_pb2" doxytag="OAEP::NewMGF" ></a> <a class="el" href="class_mask_generating_function.html">MaskGeneratingFunction</a> * </td><td class="memItemRight" valign=bottom><b>NewMGF</b> () const</td></tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="oaep_8h-source.html">oaep.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Sun Nov 7 08:24:06 2004 for Crypto++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address> </body> </html>