aboutsummaryrefslogtreecommitdiffstats
path: root/doc/html/crypto_8php.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/crypto_8php.html')
-rw-r--r--doc/html/crypto_8php.html304
1 files changed, 302 insertions, 2 deletions
diff --git a/doc/html/crypto_8php.html b/doc/html/crypto_8php.html
index 05f69f401..de1976f8e 100644
--- a/doc/html/crypto_8php.html
+++ b/doc/html/crypto_8php.html
@@ -138,6 +138,28 @@ Functions</h2></td></tr>
<tr class="separator:a4d15d19b446dbf47804675df7c85e2a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7427a18417341aa35e2207bfa205e432"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a7427a18417341aa35e2207bfa205e432">pkcs8to1</a> ($oldkey, $len)</td></tr>
<tr class="separator:a7427a18417341aa35e2207bfa205e432"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a630e1574554f34e7c38511585d9e71a2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a630e1574554f34e7c38511585d9e71a2">DerToPem</a> ($Der, $Private=false)</td></tr>
+<tr class="separator:a630e1574554f34e7c38511585d9e71a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae5af17db1cb5d7c91d486e1264079839"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#ae5af17db1cb5d7c91d486e1264079839">DerToRsa</a> ($Der)</td></tr>
+<tr class="separator:ae5af17db1cb5d7c91d486e1264079839"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0e941b6b18ff895d1a2448741abf2ef2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a0e941b6b18ff895d1a2448741abf2ef2">pkcs8_encode</a> ($Modulus, $PublicExponent)</td></tr>
+<tr class="separator:a0e941b6b18ff895d1a2448741abf2ef2"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a890b443f80f0968fb9eabd93fc99dbb5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a890b443f80f0968fb9eabd93fc99dbb5">pkcs1_encode</a> ($Modulus, $PublicExponent)</td></tr>
+<tr class="separator:a890b443f80f0968fb9eabd93fc99dbb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af8bbdeaf4abed7b40365d301e6013c85"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#af8bbdeaf4abed7b40365d301e6013c85">metopem</a> ($m, $e)</td></tr>
+<tr class="separator:af8bbdeaf4abed7b40365d301e6013c85"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2a3fae7caca27f86d158eeaf69b6f287"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a2a3fae7caca27f86d158eeaf69b6f287">pubrsatome</a> ($key, &amp;$m, &amp;$e)</td></tr>
+<tr class="separator:a2a3fae7caca27f86d158eeaf69b6f287"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a7f7e650aaeaa3832580a73eb00966b26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a7f7e650aaeaa3832580a73eb00966b26">rsatopem</a> ($key)</td></tr>
+<tr class="separator:a7f7e650aaeaa3832580a73eb00966b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a35bc357c93f4ddc67ef377620b0349e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a35bc357c93f4ddc67ef377620b0349e8">pemtorsa</a> ($key)</td></tr>
+<tr class="separator:a35bc357c93f4ddc67ef377620b0349e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a798368843cdd9bb08386b48e53e29e8c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a798368843cdd9bb08386b48e53e29e8c">pemtome</a> ($key, &amp;$m, &amp;$e)</td></tr>
+<tr class="separator:a798368843cdd9bb08386b48e53e29e8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a573f02517abe4ac9241268263063b2a0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a573f02517abe4ac9241268263063b2a0">metorsa</a> ($m, $e)</td></tr>
+<tr class="separator:a573f02517abe4ac9241268263063b2a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9191447cc46f0b4eaba3273e313994d5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="crypto_8php.html#a9191447cc46f0b4eaba3273e313994d5">salmon_key</a> ($pubkey)</td></tr>
+<tr class="separator:a9191447cc46f0b4eaba3273e313994d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ac852ee41392d1358c3a54d54935e0bf9"></a>
@@ -232,7 +254,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
-<p>Referenced by <a class="el" href="crypto_8php.html#a32fc08d57a5694f94d8543ecbb03323c">crypto_encapsulate()</a>, <a class="el" href="item_8php.html#a693cd09805755ab85bbb5ecae69a48c3">item_post()</a>, <a class="el" href="items_8php.html#a410f9c743877c125ca06312373346903">post_activity_item()</a>, and <a class="el" href="zfinger_8php.html#a8139b83a22ef98869adc10aa224027a0">zfinger_init()</a>.</p>
+<p>Referenced by <a class="el" href="crypto_8php.html#a32fc08d57a5694f94d8543ecbb03323c">crypto_encapsulate()</a>, <a class="el" href="item_8php.html#a693cd09805755ab85bbb5ecae69a48c3">item_post()</a>, <a class="el" href="items_8php.html#a410f9c743877c125ca06312373346903">post_activity_item()</a>, <a class="el" href="items_8php.html#adf2b8137dc4ad9ec958de2842f16f3c2">start_delivery_chain()</a>, and <a class="el" href="zfinger_8php.html#a8139b83a22ef98869adc10aa224027a0">zfinger_init()</a>.</p>
</div>
</div>
@@ -260,7 +282,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
-<p>Referenced by <a class="el" href="crypto_8php.html#a0781202b0a43b82426929cc87c2fa2b5">crypto_unencapsulate()</a>.</p>
+<p>Referenced by <a class="el" href="crypto_8php.html#a0781202b0a43b82426929cc87c2fa2b5">crypto_unencapsulate()</a>, and <a class="el" href="items_8php.html#adf2b8137dc4ad9ec958de2842f16f3c2">start_delivery_chain()</a>.</p>
</div>
</div>
@@ -326,6 +348,108 @@ Functions</h2></td></tr>
</div>
</div>
+<a class="anchor" id="a630e1574554f34e7c38511585d9e71a2"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">DerToPem </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$Der</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$Private</em> = <code>false</code>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#af8bbdeaf4abed7b40365d301e6013c85">metopem()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="ae5af17db1cb5d7c91d486e1264079839"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">DerToRsa </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$Der</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#a573f02517abe4ac9241268263063b2a0">metorsa()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="af8bbdeaf4abed7b40365d301e6013c85"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">metopem </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$m</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$e</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#a7f7e650aaeaa3832580a73eb00966b26">rsatopem()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a573f02517abe4ac9241268263063b2a0"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">metorsa </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$m</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$e</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#a35bc357c93f4ddc67ef377620b0349e8">pemtorsa()</a>.</p>
+
+</div>
+</div>
<a class="anchor" id="aae0ab70d6a199b29555b1ac3cf250d6a"></a>
<div class="memitem">
<div class="memproto">
@@ -344,6 +468,86 @@ Functions</h2></td></tr>
</div>
</div>
+<a class="anchor" id="a798368843cdd9bb08386b48e53e29e8c"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">pemtome </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$key</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&amp;&#160;</td>
+ <td class="paramname"><em>$m</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&amp;&#160;</td>
+ <td class="paramname"><em>$e</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#a35bc357c93f4ddc67ef377620b0349e8">pemtorsa()</a>, and <a class="el" href="crypto_8php.html#a9191447cc46f0b4eaba3273e313994d5">salmon_key()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a35bc357c93f4ddc67ef377620b0349e8"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">pemtorsa </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$key</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="xrd_8php.html#aee3cf087968e4a0ff3a87de16eb23270">xrd_init()</a>.</p>
+
+</div>
+</div>
+<a class="anchor" id="a890b443f80f0968fb9eabd93fc99dbb5"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">pkcs1_encode </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$Modulus</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$PublicExponent</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#a573f02517abe4ac9241268263063b2a0">metorsa()</a>.</p>
+
+</div>
+</div>
<a class="anchor" id="a4d15d19b446dbf47804675df7c85e2a9"></a>
<div class="memitem">
<div class="memproto">
@@ -416,6 +620,34 @@ Functions</h2></td></tr>
</div>
</div>
+<a class="anchor" id="a0e941b6b18ff895d1a2448741abf2ef2"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">pkcs8_encode </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$Modulus</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$PublicExponent</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#af8bbdeaf4abed7b40365d301e6013c85">metopem()</a>.</p>
+
+</div>
+</div>
<a class="anchor" id="a7427a18417341aa35e2207bfa205e432"></a>
<div class="memitem">
<div class="memproto">
@@ -442,6 +674,40 @@ Functions</h2></td></tr>
</div>
</div>
+<a class="anchor" id="a2a3fae7caca27f86d158eeaf69b6f287"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">pubrsatome </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$key</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&amp;&#160;</td>
+ <td class="paramname"><em>$m</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">&amp;&#160;</td>
+ <td class="paramname"><em>$e</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="crypto_8php.html#a7f7e650aaeaa3832580a73eb00966b26">rsatopem()</a>.</p>
+
+</div>
+</div>
<a class="anchor" id="a920e5f222d0020f47556033d8b2b6552"></a>
<div class="memitem">
<div class="memproto">
@@ -516,6 +782,40 @@ Functions</h2></td></tr>
</div>
</div>
+<a class="anchor" id="a7f7e650aaeaa3832580a73eb00966b26"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">rsatopem </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$key</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a9191447cc46f0b4eaba3273e313994d5"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">salmon_key </td>
+ <td>(</td>
+ <td class="paramtype">&#160;</td>
+ <td class="paramname"><em>$pubkey</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Referenced by <a class="el" href="xrd_8php.html#aee3cf087968e4a0ff3a87de16eb23270">xrd_init()</a>.</p>
+
+</div>
+</div>
</div><!-- contents -->
</div><!-- doc-content -->