Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 17f48c047155a7d4c992d6a672acd57f > files > 567

libcryptopp-devel-7.0.0-1.1.mga7.armv7hl.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Crypto++: CryptoMaterial Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Crypto++
   &#160;<span id="projectnumber">7.0</span>
   </div>
   <div id="projectbrief">Free&nbsp;C&#43;&#43;&nbsp;class&nbsp;library&nbsp;of&nbsp;cryptographic&nbsp;schemes</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_crypto_material-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CryptoMaterial Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Interface for crypto material, such as public and private keys, and crypto parameters.  
 <a href="class_crypto_material.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for CryptoMaterial:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="class_crypto_material.png" usemap="#CryptoMaterial_map" alt=""/>
  <map id="CryptoMaterial_map" name="CryptoMaterial_map">
<area href="class_name_value_pairs.html" title="Interface for retrieving values given their names." alt="NameValuePairs" shape="rect" coords="1593,0,2008,24"/>
<area href="class_generatable_crypto_material.html" title="Interface for generatable crypto material, such as private keys and crypto parameters." alt="GeneratableCryptoMaterial" shape="rect" coords="425,112,840,136"/>
<area href="class_public_key.html" title="Interface for public keys." alt="PublicKey" shape="rect" coords="2762,112,3177,136"/>
<area href="class_crypto_parameters.html" title="Interface for crypto prameters." alt="CryptoParameters" shape="rect" coords="0,168,415,192"/>
<area href="class_private_key.html" title="Interface for private keys." alt="PrivateKey" shape="rect" coords="850,168,1265,192"/>
<area href="class_a_s_n1_crypto_material.html" alt="ASN1CryptoMaterial&lt; PublicKey &gt;" shape="rect" coords="1700,168,2115,192"/>
<area href="class_l_u_c_function.html" title="The LUC function." alt="LUCFunction" shape="rect" coords="2550,168,2965,192"/>
<area href="class_rabin_function.html" title="Rabin trapdoor function using the public key." alt="RabinFunction" shape="rect" coords="2975,168,3390,192"/>
<area href="class_r_w_function.html" title="Rabin-Williams trapdoor function using the public key." alt="RWFunction" shape="rect" coords="3400,168,3815,192"/>
<area href="class_d_l___group_parameters.html" title="Interface for Discrete Log (DL) group parameters." alt="DL_GroupParameters&lt; T &gt;" shape="rect" coords="425,224,840,248"/>
<area href="class_d_l___group_parameters.html" alt="DL_GroupParameters&lt; Integer &gt;" shape="rect" coords="425,280,840,304"/>
<area href="class_d_l___group_parameters.html" alt="DL_GroupParameters&lt; typename EcPrecomputation&lt; EC &gt; ::Element &gt;" shape="rect" coords="425,336,840,360"/>
<area href="class_x_t_r___d_h.html" title="XTR-DH with key validation." alt="XTR_DH" shape="rect" coords="425,392,840,416"/>
<area href="class_a_s_n1_crypto_material.html" alt="ASN1CryptoMaterial&lt; PrivateKey &gt;" shape="rect" coords="1275,224,1690,248"/>
<area href="class_invertible_e_s_i_g_n_function.html" title="ESIGN trapdoor function using the private key." alt="InvertibleESIGNFunction" shape="rect" coords="1275,280,1690,304"/>
<area href="class_invertible_l_u_c_function.html" title="The LUC inverse function." alt="InvertibleLUCFunction" shape="rect" coords="1275,336,1690,360"/>
<area href="class_invertible_rabin_function.html" title="Rabin trapdoor function using the private key." alt="InvertibleRabinFunction" shape="rect" coords="1275,392,1690,416"/>
<area href="class_invertible_r_w_function.html" title="Rabin-Williams trapdoor function using the private key." alt="InvertibleRWFunction" shape="rect" coords="1275,448,1690,472"/>
<area href="class_e_s_i_g_n_function.html" title="ESIGN trapdoor function using the public key." alt="ESIGNFunction" shape="rect" coords="2125,224,2540,248"/>
<area href="class_x509_public_key.html" title="Encodes and decodes subjectPublicKeyInfo." alt="X509PublicKey" shape="rect" coords="2125,280,2540,304"/>
<area href="class_invertible_l_u_c_function.html" title="The LUC inverse function." alt="InvertibleLUCFunction" shape="rect" coords="2550,224,2965,248"/>
<area href="class_invertible_rabin_function.html" title="Rabin trapdoor function using the private key." alt="InvertibleRabinFunction" shape="rect" coords="2975,224,3390,248"/>
<area href="class_invertible_r_w_function.html" title="Rabin-Williams trapdoor function using the private key." alt="InvertibleRWFunction" shape="rect" coords="3400,224,3815,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material_1_1_invalid_material.html">InvalidMaterial</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_exception.html" title="Base class for all exceptions thrown by the library.">Exception</a> thrown when invalid crypto material is detected.  <a href="class_crypto_material_1_1_invalid_material.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a20181c1b39a74a9fe91385b025b773c6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a20181c1b39a74a9fe91385b025b773c6">AssignFrom</a> (const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;source)=0</td></tr>
<tr class="memdesc:a20181c1b39a74a9fe91385b025b773c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign values to this object.  <a href="#a20181c1b39a74a9fe91385b025b773c6">More...</a><br /></td></tr>
<tr class="separator:a20181c1b39a74a9fe91385b025b773c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa7d67d0c12712de0e33713c73f5b718"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#aaa7d67d0c12712de0e33713c73f5b718">Validate</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, unsigned int level) const =0</td></tr>
<tr class="memdesc:aaa7d67d0c12712de0e33713c73f5b718"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check this object for errors.  <a href="#aaa7d67d0c12712de0e33713c73f5b718">More...</a><br /></td></tr>
<tr class="separator:aaa7d67d0c12712de0e33713c73f5b718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedb65ba5323f7bb41fc57973566d20cd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#aedb65ba5323f7bb41fc57973566d20cd">ThrowIfInvalid</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, unsigned int level) const</td></tr>
<tr class="memdesc:aedb65ba5323f7bb41fc57973566d20cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check this object for errors.  <a href="#aedb65ba5323f7bb41fc57973566d20cd">More...</a><br /></td></tr>
<tr class="separator:aedb65ba5323f7bb41fc57973566d20cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12d0186a42abb68cfc3538c1fe3e3de4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a12d0186a42abb68cfc3538c1fe3e3de4">Save</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const</td></tr>
<tr class="memdesc:a12d0186a42abb68cfc3538c1fe3e3de4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves a key to a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a>.  <a href="#a12d0186a42abb68cfc3538c1fe3e3de4">More...</a><br /></td></tr>
<tr class="separator:a12d0186a42abb68cfc3538c1fe3e3de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7a94de4c3d3822070db5babbdf8b113"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#ae7a94de4c3d3822070db5babbdf8b113">Load</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt)</td></tr>
<tr class="memdesc:ae7a94de4c3d3822070db5babbdf8b113"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads a key from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a>.  <a href="#ae7a94de4c3d3822070db5babbdf8b113">More...</a><br /></td></tr>
<tr class="separator:ae7a94de4c3d3822070db5babbdf8b113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35720c07870fcda4ae39148f8524274e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a35720c07870fcda4ae39148f8524274e">SupportsPrecomputation</a> () const</td></tr>
<tr class="memdesc:a35720c07870fcda4ae39148f8524274e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the object supports precomputation.  <a href="#a35720c07870fcda4ae39148f8524274e">More...</a><br /></td></tr>
<tr class="separator:a35720c07870fcda4ae39148f8524274e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78380e019615a35d06e951a0f28e0a99"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99">Precompute</a> (unsigned int precomputationStorage)</td></tr>
<tr class="memdesc:a78380e019615a35d06e951a0f28e0a99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform precomputation.  <a href="#a78380e019615a35d06e951a0f28e0a99">More...</a><br /></td></tr>
<tr class="separator:a78380e019615a35d06e951a0f28e0a99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2911ebd9a28efa43dab71e5c12e2c90d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a2911ebd9a28efa43dab71e5c12e2c90d">LoadPrecomputation</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;storedPrecomputation)</td></tr>
<tr class="memdesc:a2911ebd9a28efa43dab71e5c12e2c90d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve previously saved precomputation.  <a href="#a2911ebd9a28efa43dab71e5c12e2c90d">More...</a><br /></td></tr>
<tr class="separator:a2911ebd9a28efa43dab71e5c12e2c90d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65b905e1af3efb962c356d49d2c90e73"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#a65b905e1af3efb962c356d49d2c90e73">SavePrecomputation</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;storedPrecomputation) const</td></tr>
<tr class="memdesc:a65b905e1af3efb962c356d49d2c90e73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save precomputation for later use.  <a href="#a65b905e1af3efb962c356d49d2c90e73">More...</a><br /></td></tr>
<tr class="separator:a65b905e1af3efb962c356d49d2c90e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1da44802c5cf00946043922cb9e7e6e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crypto_material.html#aa1da44802c5cf00946043922cb9e7e6e">DoQuickSanityCheck</a> () const</td></tr>
<tr class="memdesc:aa1da44802c5cf00946043922cb9e7e6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform a quick sanity check.  <a href="#aa1da44802c5cf00946043922cb9e7e6e">More...</a><br /></td></tr>
<tr class="separator:aa1da44802c5cf00946043922cb9e7e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_name_value_pairs"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_name_value_pairs')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_name_value_pairs.html">NameValuePairs</a></td></tr>
<tr class="memitem:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a3401528f3d69d70f200086501b8af282">GetThisObject</a> (T &amp;object) const</td></tr>
<tr class="memdesc:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a copy of this object or subobject.  <a href="class_name_value_pairs.html#a3401528f3d69d70f200086501b8af282">More...</a><br /></td></tr>
<tr class="separator:a3401528f3d69d70f200086501b8af282 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#abce7b413ce1345ab7b7d05fa3d1834f5">GetThisPointer</a> (T *&amp;ptr) const</td></tr>
<tr class="memdesc:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to this object.  <a href="class_name_value_pairs.html#abce7b413ce1345ab7b7d05fa3d1834f5">More...</a><br /></td></tr>
<tr class="separator:abce7b413ce1345ab7b7d05fa3d1834f5 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a5357c3a09602e44671d1e42cb9a9408d">GetValue</a> (const char *name, T &amp;value) const</td></tr>
<tr class="memdesc:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a named value.  <a href="class_name_value_pairs.html#a5357c3a09602e44671d1e42cb9a9408d">More...</a><br /></td></tr>
<tr class="separator:a5357c3a09602e44671d1e42cb9a9408d inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a4daf1ef67b547c6be96188a43e5ec05e">GetValueWithDefault</a> (const char *name, T defaultValue) const</td></tr>
<tr class="memdesc:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a named value.  <a href="class_name_value_pairs.html#a4daf1ef67b547c6be96188a43e5ec05e">More...</a><br /></td></tr>
<tr class="separator:a4daf1ef67b547c6be96188a43e5ec05e inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13faea827ee047cd58557282806ed2e1 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a13faea827ee047cd58557282806ed2e1">GetValueNames</a> () const</td></tr>
<tr class="memdesc:a13faea827ee047cd58557282806ed2e1 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a list of value names that can be retrieved.  <a href="class_name_value_pairs.html#a13faea827ee047cd58557282806ed2e1">More...</a><br /></td></tr>
<tr class="separator:a13faea827ee047cd58557282806ed2e1 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a94e5b19dc54625799797668ff8627c57">GetIntValue</a> (const char *name, int &amp;value) const</td></tr>
<tr class="memdesc:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a named value with type int.  <a href="class_name_value_pairs.html#a94e5b19dc54625799797668ff8627c57">More...</a><br /></td></tr>
<tr class="separator:a94e5b19dc54625799797668ff8627c57 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ddb654b7afcd1a04422a7b4b01366d9 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a7ddb654b7afcd1a04422a7b4b01366d9">GetIntValueWithDefault</a> (const char *name, int defaultValue) const</td></tr>
<tr class="memdesc:a7ddb654b7afcd1a04422a7b4b01366d9 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a named value with type int, with default.  <a href="class_name_value_pairs.html#a7ddb654b7afcd1a04422a7b4b01366d9">More...</a><br /></td></tr>
<tr class="separator:a7ddb654b7afcd1a04422a7b4b01366d9 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#af28f6e7abf98606d8146bfda271e99db">GetRequiredParameter</a> (const char *className, const char *name, T &amp;value) const</td></tr>
<tr class="memdesc:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a required name/value pair.  <a href="class_name_value_pairs.html#af28f6e7abf98606d8146bfda271e99db">More...</a><br /></td></tr>
<tr class="separator:af28f6e7abf98606d8146bfda271e99db inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#acfb673d912e1bc19386bebba9d58c23f">GetRequiredIntParameter</a> (const char *className, const char *name, int &amp;value) const</td></tr>
<tr class="memdesc:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a required name/value pair.  <a href="class_name_value_pairs.html#acfb673d912e1bc19386bebba9d58c23f">More...</a><br /></td></tr>
<tr class="separator:acfb673d912e1bc19386bebba9d58c23f inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fc3f5c4480d53b8104c67ca7958e332 inherit pub_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#a9fc3f5c4480d53b8104c67ca7958e332">GetVoidValue</a> (const char *name, const std::type_info &amp;valueType, void *pValue) const =0</td></tr>
<tr class="memdesc:a9fc3f5c4480d53b8104c67ca7958e332 inherit pub_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a named value.  <a href="class_name_value_pairs.html#a9fc3f5c4480d53b8104c67ca7958e332">More...</a><br /></td></tr>
<tr class="separator:a9fc3f5c4480d53b8104c67ca7958e332 inherit pub_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_name_value_pairs"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_name_value_pairs')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_name_value_pairs.html">NameValuePairs</a></td></tr>
<tr class="memitem:ad4b80eeeb5f1f58e3cedb12f02a6b870 inherit pub_static_methods_class_name_value_pairs"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_name_value_pairs.html#ad4b80eeeb5f1f58e3cedb12f02a6b870">ThrowIfTypeMismatch</a> (const char *name, const std::type_info &amp;stored, const std::type_info &amp;retrieving)</td></tr>
<tr class="memdesc:ad4b80eeeb5f1f58e3cedb12f02a6b870 inherit pub_static_methods_class_name_value_pairs"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ensures an expected name and type is present.  <a href="class_name_value_pairs.html#ad4b80eeeb5f1f58e3cedb12f02a6b870">More...</a><br /></td></tr>
<tr class="separator:ad4b80eeeb5f1f58e3cedb12f02a6b870 inherit pub_static_methods_class_name_value_pairs"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Interface for crypto material, such as public and private keys, and crypto parameters. </p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02230">2230</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a20181c1b39a74a9fe91385b025b773c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20181c1b39a74a9fe91385b025b773c6">&#9670;&nbsp;</a></span>AssignFrom()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CryptoMaterial::AssignFrom </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assign values to this object. </p>
<p>This function can be used to create a public key from a private key. </p>

<p>Implemented in <a class="el" href="class_d_l___public_key_impl.html#afa2dcb7fc8d0d83dd6d4563b7ba6ca41">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#afa2dcb7fc8d0d83dd6d4563b7ba6ca41">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a1f477156648ec8d3cfe18d503f47a92f">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a1f477156648ec8d3cfe18d503f47a92f">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___public_key___e_c_g_d_s_a.html#ad4d509a3e4905501228e2e7b5f6f7bb4">DL_PublicKey_ECGDSA&lt; EC &gt;</a>, <a class="el" href="class_d_l___private_key___e_c_g_d_s_a.html#a648bb161f30661c85fea412da784c8b2">DL_PrivateKey_ECGDSA&lt; EC &gt;</a>, <a class="el" href="class_d_l___group_parameters___integer_based_impl.html#a0d668d2148cf57078a93f3a5a4b4ac2a">DL_GroupParameters_IntegerBasedImpl&lt; GROUP_PRECOMP, BASE_PRECOMP &gt;</a>, <a class="el" href="class_d_l___group_parameters___integer_based_impl.html#a0d668d2148cf57078a93f3a5a4b4ac2a">DL_GroupParameters_IntegerBasedImpl&lt; DL_GroupPrecomputation_LUC, DL_BasePrecomputation_LUC &gt;</a>, <a class="el" href="class_d_l___group_parameters___integer_based_impl.html#a0d668d2148cf57078a93f3a5a4b4ac2a">DL_GroupParameters_IntegerBasedImpl&lt; ModExpPrecomputation &gt;</a>, <a class="el" href="class_invertible_r_s_a_function.html#a871fc366191e9c5fae114c06a200c928">InvertibleRSAFunction</a>, <a class="el" href="class_invertible_l_u_c_function.html#aaaef1b335de1f76ec61079d1dfd78744">InvertibleLUCFunction</a>, <a class="el" href="class_invertible_e_s_i_g_n_function.html#aca870e350b30d04a47d452f21e903278">InvertibleESIGNFunction</a>, <a class="el" href="class_invertible_r_w_function.html#a56b0314b678c58228671d3c9049f86db">InvertibleRWFunction</a>, <a class="el" href="class_d_l___group_parameters___e_c.html#a8fa1181ce7cf91f12ba6de286d1da5bd">DL_GroupParameters_EC&lt; EC &gt;</a>, <a class="el" href="class_invertible_rabin_function.html#a66594bb7f369e4ecc30bbe6ae62527ea">InvertibleRabinFunction</a>, <a class="el" href="class_d_l___group_parameters___integer_based.html#a151a76c88372bdf98c68be2ad19400e1">DL_GroupParameters_IntegerBased</a>, <a class="el" href="class_l_u_c_function.html#af6a95ed660e53a5fa07841f139d43ccf">LUCFunction</a>, <a class="el" href="class_r_w_function.html#a99293c55c055b338bd7c783a7b8c0484">RWFunction</a>, <a class="el" href="class_r_s_a_function.html#ad2db62b20297a8d9df55171e73fe8de7">RSAFunction</a>, <a class="el" href="class_rabin_function.html#ae585a0d58b1b95579459c2b42eea980c">RabinFunction</a>, <a class="el" href="class_e_s_i_g_n_function.html#a1ff8229ed7786a13a69d15e5a64e4d21">ESIGNFunction</a>, and <a class="el" href="class_x_t_r___d_h.html#af2456cb49f5b36edaaef3c0cae25a775">XTR_DH</a>.</p>

</div>
</div>
<a id="aaa7d67d0c12712de0e33713c73f5b718"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa7d67d0c12712de0e33713c73f5b718">&#9670;&nbsp;</a></span>Validate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool CryptoMaterial::Validate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&#160;</td>
          <td class="paramname"><em>rng</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check this object for errors. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rng</td><td>a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators.">RandomNumberGenerator</a> for objects which use randomized testing </td></tr>
    <tr><td class="paramname">level</td><td>the level of thoroughness </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the tests succeed, false otherwise</dd></dl>
<p>There are four levels of thoroughness: </p><ul>
<li>
0 - using this object won't cause a crash or exception </li>
<li>
1 - this object will probably function, and encrypt, sign, other operations correctly </li>
<li>
2 - ensure this object will function correctly, and perform reasonable security checks </li>
<li>
3 - perform reasonable security checks, and do checks that may take a long time </li>
</ul>
<p>Level 0 does not require a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators.">RandomNumberGenerator</a>. A <a class="el" href="cryptlib_8h.html#a1e53479a6d427158247ac1ece3161a6d" title="Random Number Generator that does not produce random numbers.">NullRNG()</a> can be used for level 0. Level 1 may not check for weak keys and such. Levels 2 and 3 are recommended. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_crypto_material.html#aedb65ba5323f7bb41fc57973566d20cd" title="Check this object for errors.">ThrowIfInvalid()</a> </dd></dl>

<p>Implemented in <a class="el" href="class_d_l___public_key_impl.html#ad915aa79d9a19b4c7a6bab99181250b1">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#ad915aa79d9a19b4c7a6bab99181250b1">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a70b6a9df342a53c46a16c37bc52774c8">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a70b6a9df342a53c46a16c37bc52774c8">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a1f25ebabec85af46cf34e2239f9612e3">DL_GroupParameters&lt; T &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a1f25ebabec85af46cf34e2239f9612e3">DL_GroupParameters&lt; Integer &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a1f25ebabec85af46cf34e2239f9612e3">DL_GroupParameters&lt; typename EcPrecomputation&lt; EC &gt; ::Element &gt;</a>, <a class="el" href="class_invertible_r_s_a_function.html#a1416fe1274d2be8b297153ff02fe14dc">InvertibleRSAFunction</a>, <a class="el" href="class_invertible_l_u_c_function.html#ab5c7b3d5b5d0b9509f8180a43370533b">InvertibleLUCFunction</a>, <a class="el" href="class_invertible_e_s_i_g_n_function.html#a1c64c8101a488232cde43a5c473742b1">InvertibleESIGNFunction</a>, <a class="el" href="class_invertible_r_w_function.html#a1c3858f76fdd2c48bcac7346d75b8c9e">InvertibleRWFunction</a>, <a class="el" href="class_invertible_rabin_function.html#a8f654d654bf7e833c9c48351346d3cb9">InvertibleRabinFunction</a>, <a class="el" href="class_l_u_c_function.html#aba4694feec6ef453e2ef0f6fb586ca0c">LUCFunction</a>, <a class="el" href="class_r_w_function.html#af326ae91ff9d6719c879861d21d380ac">RWFunction</a>, <a class="el" href="class_r_s_a_function.html#a2c43e097f0525db01c15bb53d80c2bea">RSAFunction</a>, <a class="el" href="class_rabin_function.html#ac1f4bf45382c16a486616269884d95be">RabinFunction</a>, <a class="el" href="class_e_s_i_g_n_function.html#acc185d24c97a74543a6e5820219282bd">ESIGNFunction</a>, and <a class="el" href="class_x_t_r___d_h.html#a27c92e572df6e8c1cf73a88d72e8dba5">XTR_DH</a>.</p>

</div>
</div>
<a id="aedb65ba5323f7bb41fc57973566d20cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedb65ba5323f7bb41fc57973566d20cd">&#9670;&nbsp;</a></span>ThrowIfInvalid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CryptoMaterial::ThrowIfInvalid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&#160;</td>
          <td class="paramname"><em>rng</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check this object for errors. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rng</td><td>a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators.">RandomNumberGenerator</a> for objects which use randomized testing </td></tr>
    <tr><td class="paramname">level</td><td>the level of thoroughness </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="class_crypto_material_1_1_invalid_material.html" title="Exception thrown when invalid crypto material is detected.">InvalidMaterial</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<p>Internally, <a class="el" href="class_crypto_material.html#aedb65ba5323f7bb41fc57973566d20cd" title="Check this object for errors.">ThrowIfInvalid()</a> calls <a class="el" href="class_crypto_material.html#aaa7d67d0c12712de0e33713c73f5b718" title="Check this object for errors.">Validate()</a> and throws InvalidMaterial() if validation fails. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_crypto_material.html#aaa7d67d0c12712de0e33713c73f5b718" title="Check this object for errors.">Validate()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02268">2268</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<a id="a12d0186a42abb68cfc3538c1fe3e3de4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12d0186a42abb68cfc3538c1fe3e3de4">&#9670;&nbsp;</a></span>Save()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CryptoMaterial::Save </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>bt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Saves a key to a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bt</td><td>the destination <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="class_not_implemented.html" title="A method was called which was not implemented.">NotImplemented</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<p><a class="el" href="class_crypto_material.html#a12d0186a42abb68cfc3538c1fe3e3de4" title="Saves a key to a BufferedTransformation.">Save()</a> writes the material to a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a>.</p>
<p>If the material is a key, then the key is written with ASN.1 DER encoding. The key includes an object identifier with an algorthm id, like a subjectPublicKeyInfo.</p>
<p>A "raw" key without the "key info" can be saved using a key's DEREncode() method.</p>
<p>If a derived class does not override <a class="el" href="class_crypto_material.html#a12d0186a42abb68cfc3538c1fe3e3de4" title="Saves a key to a BufferedTransformation.">Save()</a>, then the base class throws <a class="el" href="class_not_implemented.html" title="A method was called which was not implemented.">NotImplemented()</a>. </p>

<p>Reimplemented in <a class="el" href="class_a_s_n1_crypto_material.html#a52ea60c7684e0f3ea2749307d151de33">ASN1CryptoMaterial&lt; PrivateKey &gt;</a>, <a class="el" href="class_a_s_n1_crypto_material.html#a52ea60c7684e0f3ea2749307d151de33">ASN1CryptoMaterial&lt; DL_GroupParameters&lt; Integer &gt; &gt;</a>, <a class="el" href="class_a_s_n1_crypto_material.html#a52ea60c7684e0f3ea2749307d151de33">ASN1CryptoMaterial&lt; PublicKey &gt;</a>, <a class="el" href="class_invertible_r_s_a_function.html#ac977b45f9baa1ff0da7bee3b1bc5ea54">InvertibleRSAFunction</a>, <a class="el" href="class_invertible_e_s_i_g_n_function.html#a5516f8cc925dc763d70d08437b19ea8f">InvertibleESIGNFunction</a>, <a class="el" href="class_invertible_r_w_function.html#a2a86504f7651f961b639827cfe1c2b29">InvertibleRWFunction</a>, and <a class="el" href="class_r_w_function.html#a5601299bcb9e46fd534f0cb6a91d26bd">RWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02280">2280</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<a id="ae7a94de4c3d3822070db5babbdf8b113"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7a94de4c3d3822070db5babbdf8b113">&#9670;&nbsp;</a></span>Load()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CryptoMaterial::Load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>bt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads a key from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bt</td><td>the source <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">KeyingErr</td><td></td></tr>
  </table>
  </dd>
</dl>
<p><a class="el" href="class_crypto_material.html#ae7a94de4c3d3822070db5babbdf8b113" title="Loads a key from a BufferedTransformation.">Load()</a> attempts to read material from a <a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a>. If the material is a key that was generated outside the library, then the following usually applies: </p><ul>
<li>
the key should be ASN.1 BER encoded </li>
<li>
the key should be a "key info" </li>
</ul>
<p>"key info" means the key should have an object identifier with an algorthm id, like a subjectPublicKeyInfo.</p>
<p>To read a "raw" key without the "key info", then call the key's BERDecode() method. </p><dl class="section note"><dt>Note</dt><dd><a class="el" href="class_crypto_material.html#ae7a94de4c3d3822070db5babbdf8b113" title="Loads a key from a BufferedTransformation.">Load()</a> generally does not check that the key is valid. Call <a class="el" href="class_crypto_material.html#aaa7d67d0c12712de0e33713c73f5b718" title="Check this object for errors.">Validate()</a>, if needed. </dd></dl>

<p>Reimplemented in <a class="el" href="class_a_s_n1_crypto_material.html#a23d34a094f5765a1cf51f22ae1233f66">ASN1CryptoMaterial&lt; PrivateKey &gt;</a>, <a class="el" href="class_a_s_n1_crypto_material.html#a23d34a094f5765a1cf51f22ae1233f66">ASN1CryptoMaterial&lt; DL_GroupParameters&lt; Integer &gt; &gt;</a>, <a class="el" href="class_a_s_n1_crypto_material.html#a23d34a094f5765a1cf51f22ae1233f66">ASN1CryptoMaterial&lt; PublicKey &gt;</a>, <a class="el" href="class_invertible_r_s_a_function.html#ad8a540a6369b9043d082b0dc38b99d4b">InvertibleRSAFunction</a>, <a class="el" href="class_invertible_e_s_i_g_n_function.html#a64a251d28970b7c1d42295cffd4dc09e">InvertibleESIGNFunction</a>, <a class="el" href="class_invertible_r_w_function.html#a5e60bc2f2a75e5b7560aebae2625160f">InvertibleRWFunction</a>, and <a class="el" href="class_r_w_function.html#ad169bf041b699782e8c6840e0dff6489">RWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02297">2297</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<a id="a35720c07870fcda4ae39148f8524274e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35720c07870fcda4ae39148f8524274e">&#9670;&nbsp;</a></span>SupportsPrecomputation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool CryptoMaterial::SupportsPrecomputation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determines whether the object supports precomputation. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the object supports precomputation, false otherwise </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99" title="Perform precomputation.">Precompute()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="class_d_l___public_key_impl.html#a2fc2bcec20e2c15a4848b5c9913d2faf">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#a2fc2bcec20e2c15a4848b5c9913d2faf">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a9866aa44051bdfa2e109070bf100d5b4">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a9866aa44051bdfa2e109070bf100d5b4">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a16618ee944a0d680a557933cb05c72eb">DL_GroupParameters&lt; T &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a16618ee944a0d680a557933cb05c72eb">DL_GroupParameters&lt; Integer &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a16618ee944a0d680a557933cb05c72eb">DL_GroupParameters&lt; typename EcPrecomputation&lt; EC &gt; ::Element &gt;</a>, and <a class="el" href="class_invertible_r_w_function.html#a64c056545db8676d83329acbc77b1a61">InvertibleRWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02303">2303</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<a id="a78380e019615a35d06e951a0f28e0a99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78380e019615a35d06e951a0f28e0a99">&#9670;&nbsp;</a></span>Precompute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CryptoMaterial::Precompute </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>precomputationStorage</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Perform precomputation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">precomputationStorage</td><td>the suggested number of objects for the precompute table </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="class_not_implemented.html" title="A method was called which was not implemented.">NotImplemented</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<p>The exact semantics of <a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99" title="Perform precomputation.">Precompute()</a> varies, but it typically means calculate a table of n objects that can be used later to speed up computation.</p>
<p>If a derived class does not override <a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99" title="Perform precomputation.">Precompute()</a>, then the base class throws <a class="el" href="class_not_implemented.html" title="A method was called which was not implemented.">NotImplemented</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_crypto_material.html#a35720c07870fcda4ae39148f8524274e" title="Determines whether the object supports precomputation.">SupportsPrecomputation()</a>, <a class="el" href="class_crypto_material.html#a2911ebd9a28efa43dab71e5c12e2c90d" title="Retrieve previously saved precomputation.">LoadPrecomputation()</a>, <a class="el" href="class_crypto_material.html#a65b905e1af3efb962c356d49d2c90e73" title="Save precomputation for later use.">SavePrecomputation()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="class_d_l___public_key_impl.html#a95e25f6632ec2621289d10abc557b17b">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#a95e25f6632ec2621289d10abc557b17b">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#ac1876a3d292e192186070869be896ded">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#ac1876a3d292e192186070869be896ded">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a5f04ae8b4d0b9410a046af1607fbbb6f">DL_GroupParameters&lt; T &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a5f04ae8b4d0b9410a046af1607fbbb6f">DL_GroupParameters&lt; Integer &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a5f04ae8b4d0b9410a046af1607fbbb6f">DL_GroupParameters&lt; typename EcPrecomputation&lt; EC &gt; ::Element &gt;</a>, and <a class="el" href="class_invertible_r_w_function.html#ac342086a1eb669da37bafa45572f08b9">InvertibleRWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02313">2313</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<a id="a2911ebd9a28efa43dab71e5c12e2c90d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2911ebd9a28efa43dab71e5c12e2c90d">&#9670;&nbsp;</a></span>LoadPrecomputation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CryptoMaterial::LoadPrecomputation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>storedPrecomputation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve previously saved precomputation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">storedPrecomputation</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a> with the saved precomputation </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="class_not_implemented.html" title="A method was called which was not implemented.">NotImplemented</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_crypto_material.html#a35720c07870fcda4ae39148f8524274e" title="Determines whether the object supports precomputation.">SupportsPrecomputation()</a>, <a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99" title="Perform precomputation.">Precompute()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="class_d_l___public_key_impl.html#a8f1379edc09486d79c3ad6c374d01243">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#a8f1379edc09486d79c3ad6c374d01243">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#ae8acefe0a54ff6153d4ca5231ccac951">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#ae8acefe0a54ff6153d4ca5231ccac951">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a9b8c93a87802ef09dc546a994c850697">DL_GroupParameters&lt; T &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a9b8c93a87802ef09dc546a994c850697">DL_GroupParameters&lt; Integer &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a9b8c93a87802ef09dc546a994c850697">DL_GroupParameters&lt; typename EcPrecomputation&lt; EC &gt; ::Element &gt;</a>, and <a class="el" href="class_invertible_r_w_function.html#a9960b78b03de88ace2fde8b99f517722">InvertibleRWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02322">2322</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<a id="a65b905e1af3efb962c356d49d2c90e73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65b905e1af3efb962c356d49d2c90e73">&#9670;&nbsp;</a></span>SavePrecomputation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CryptoMaterial::SavePrecomputation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>storedPrecomputation</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Save precomputation for later use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">storedPrecomputation</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations.">BufferedTransformation</a> to write the precomputation </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="class_not_implemented.html" title="A method was called which was not implemented.">NotImplemented</a></td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_crypto_material.html#a35720c07870fcda4ae39148f8524274e" title="Determines whether the object supports precomputation.">SupportsPrecomputation()</a>, <a class="el" href="class_crypto_material.html#a78380e019615a35d06e951a0f28e0a99" title="Perform precomputation.">Precompute()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="class_d_l___public_key_impl.html#af562a63129ab05c2818e404b3446b2c7">DL_PublicKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___public_key_impl.html#af562a63129ab05c2818e404b3446b2c7">DL_PublicKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a8b339b97d3b19b95040998858168e809">DL_PrivateKeyImpl&lt; GP &gt;</a>, <a class="el" href="class_d_l___private_key_impl.html#a8b339b97d3b19b95040998858168e809">DL_PrivateKeyImpl&lt; DL_GroupParameters_EC&lt; EC &gt; &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a0fb6af3d0d981ddb2ba9a6f1e83ec11f">DL_GroupParameters&lt; T &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a0fb6af3d0d981ddb2ba9a6f1e83ec11f">DL_GroupParameters&lt; Integer &gt;</a>, <a class="el" href="class_d_l___group_parameters.html#a0fb6af3d0d981ddb2ba9a6f1e83ec11f">DL_GroupParameters&lt; typename EcPrecomputation&lt; EC &gt; ::Element &gt;</a>, and <a class="el" href="class_invertible_r_w_function.html#a0e54f331b0e4ee2fc99cb36dc6919039">InvertibleRWFunction</a>.</p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02329">2329</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<a id="aa1da44802c5cf00946043922cb9e7e6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1da44802c5cf00946043922cb9e7e6e">&#9670;&nbsp;</a></span>DoQuickSanityCheck()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CryptoMaterial::DoQuickSanityCheck </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Perform a quick sanity check. </p>
<p><a class="el" href="class_crypto_material.html#aa1da44802c5cf00946043922cb9e7e6e" title="Perform a quick sanity check.">DoQuickSanityCheck()</a> is for internal library use, and it should not be called by library users. </p>

<p class="definition">Definition at line <a class="el" href="cryptlib_8h_source.html#l02334">2334</a> of file <a class="el" href="cryptlib_8h_source.html">cryptlib.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="cryptlib_8h_source.html">cryptlib.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Nov 27 2019 15:04:03 for Crypto++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>