📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 03:19:30
📂
/ (Root)
/
opt
/
alt
/
ruby19
/
share
/
doc
/
ruby
/
html
/
d5
/
dc0
📍 /opt/alt/ruby19/share/doc/ruby/html/d5/dc0
🔄 Refresh
✏️
Editing: ossl__cipher_8h.html
Read Only
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Ruby: ext/openssl/ossl_cipher.h File 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">Ruby  <span id="projectnumber">1.9.3p551(2014-11-13revision48407)</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <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&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="../../dir_31cedd4509e06940f559c1ca2f722e02.html">ext</a></li><li class="navelem"><a class="el" href="../../dir_64db7e4e7eda6525bb8a667fe79df7d6.html">openssl</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">ossl_cipher.h File Reference</div> </div> </div><!--header--> <div class="contents"> <p><a href="../../d5/dc0/ossl__cipher_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a4705ddedb671d3849aa3e90ecfd3405c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc0/ossl__cipher_8h.html#a4705ddedb671d3849aa3e90ecfd3405c">GetCipherPtr</a> (<a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a>)</td></tr> <tr class="separator:a4705ddedb671d3849aa3e90ecfd3405c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac81d876eeca22ee03d6b9a14f046b2b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc0/ossl__cipher_8h.html#ac81d876eeca22ee03d6b9a14f046b2b3">ossl_cipher_new</a> (<a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> EVP_CIPHER *)</td></tr> <tr class="separator:ac81d876eeca22ee03d6b9a14f046b2b3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a959e215d3e6c837e5218063da81e2451"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc0/ossl__cipher_8h.html#a959e215d3e6c837e5218063da81e2451">Init_ossl_cipher</a> (void)</td></tr> <tr class="separator:a959e215d3e6c837e5218063da81e2451"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:a1699efc716bacc61af6f600133fd5700"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc0/ossl__cipher_8h.html#a1699efc716bacc61af6f600133fd5700">cCipher</a></td></tr> <tr class="separator:a1699efc716bacc61af6f600133fd5700"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a025d5d40a8fa7987d37e226dfff70858"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dc0/ossl__cipher_8h.html#a025d5d40a8fa7987d37e226dfff70858">eCipherError</a></td></tr> <tr class="separator:a025d5d40a8fa7987d37e226dfff70858"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a4705ddedb671d3849aa3e90ecfd3405c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4705ddedb671d3849aa3e90ecfd3405c">◆ </a></span>GetCipherPtr()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> EVP_CIPHER* GetCipherPtr </td> <td>(</td> <td class="paramtype"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00045">45</a> of file <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html">ossl_cipher.c</a>.</p> <p class="reference">References <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00028">SafeGetCipher</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d7/d47/ossl__pkey__dsa_8c_source.html#l00248">ossl_dsa_export()</a>, <a class="el" href="../../df/d09/ossl__pkcs7_8c_source.html#l00242">ossl_pkcs7_s_encrypt()</a>, <a class="el" href="../../df/d09/ossl__pkcs7_8c_source.html#l00463">ossl_pkcs7_set_cipher()</a>, and <a class="el" href="../../df/da1/ossl__pkey__rsa_8c_source.html#l00237">ossl_rsa_export()</a>.</p> </div> </div> <a id="a959e215d3e6c837e5218063da81e2451"></a> <h2 class="memtitle"><span class="permalink"><a href="#a959e215d3e6c837e5218063da81e2451">◆ </a></span>Init_ossl_cipher()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Init_ossl_cipher </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00568">568</a> of file <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html">ossl_cipher.c</a>.</p> <p class="reference">References <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00036">cCipher</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00037">eCipherError</a>, <a class="el" href="../../d4/d3c/ossl_8c_source.html#l00255">eOSSLError</a>, <a class="el" href="../../d4/d3c/ossl_8c_source.html#l00250">mOSSL</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00082">ossl_cipher_alloc()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00131">ossl_cipher_copy()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00277">ossl_cipher_decrypt()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00259">ossl_cipher_encrypt()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00388">ossl_cipher_final()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00100">ossl_cipher_initialize()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00412">ossl_cipher_name()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00303">ossl_cipher_pkcs5_keyivgen()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00191">ossl_cipher_reset()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00465">ossl_cipher_set_iv()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00433">ossl_cipher_set_key()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00495">ossl_cipher_set_key_length()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00530">ossl_cipher_set_padding</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00347">ossl_cipher_update()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00178">ossl_s_ciphers</a>, <a class="el" href="../../de/de6/ruby_2ruby_8h_source.html#l01246">rb_cObject</a>, <a class="el" href="../../db/d2e/intern_8h.html#a6c99ed7f070458b961026d43d27d0642">rb_define_alloc_func()</a>, <a class="el" href="../../d9/d0c/class_8c_source.html#l00515">rb_define_class_under()</a>, <a class="el" href="../../d8/d81/ruby__missing_8h_source.html#l00014">rb_define_copy_func</a>, <a class="el" href="../../d9/d0c/class_8c_source.html#l01210">rb_define_method()</a>, <a class="el" href="../../d9/d0c/class_8c_source.html#l00587">rb_define_module()</a>, and <a class="el" href="../../d9/d0c/class_8c_source.html#l01358">rb_define_module_function()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d4/d3c/ossl_8c_source.html#l00797">Init_openssl()</a>.</p> </div> </div> <a id="ac81d876eeca22ee03d6b9a14f046b2b3"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac81d876eeca22ee03d6b9a14f046b2b3">◆ </a></span>ossl_cipher_new()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> ossl_cipher_new </td> <td>(</td> <td class="paramtype"><a class="el" href="../../da/d50/vsnprintf_8c.html#a2c212835823e3c54a8ab6d95c652660e">const</a> EVP_CIPHER * </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00055">55</a> of file <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html">ossl_cipher.c</a>.</p> <p class="reference">References <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00017">AllocCipher</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00036">cCipher</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00037">eCipherError</a>, <a class="el" href="../../df/d69/openssl__missing_8h_source.html#l00106">EVP_CipherInit_ex</a>, <a class="el" href="../../d4/db0/__sdbm_8c_source.html#l00107">NULL</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00082">ossl_cipher_alloc()</a>, and <a class="el" href="../../d4/d3c/ossl_8c_source.html#l00324">ossl_raise()</a>.</p> </div> </div> <h2 class="groupheader">Variable Documentation</h2> <a id="a1699efc716bacc61af6f600133fd5700"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1699efc716bacc61af6f600133fd5700">◆ </a></span>cCipher</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> cCipher</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00036">36</a> of file <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html">ossl_cipher.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00568">Init_ossl_cipher()</a>, and <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00055">ossl_cipher_new()</a>.</p> </div> </div> <a id="a025d5d40a8fa7987d37e226dfff70858"></a> <h2 class="memtitle"><span class="permalink"><a href="#a025d5d40a8fa7987d37e226dfff70858">◆ </a></span>eCipherError</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#a3c1d4bfc6a81af60bdcb48744c35f760">VALUE</a> eCipherError</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00037">37</a> of file <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html">ossl_cipher.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00568">Init_ossl_cipher()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00131">ossl_cipher_copy()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00388">ossl_cipher_final()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00203">ossl_cipher_init()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00100">ossl_cipher_initialize()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00055">ossl_cipher_new()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00303">ossl_cipher_pkcs5_keyivgen()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00191">ossl_cipher_reset()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00465">ossl_cipher_set_iv()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00433">ossl_cipher_set_key()</a>, <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00495">ossl_cipher_set_key_length()</a>, and <a class="el" href="../../d3/d28/ossl__cipher_8c_source.html#l00347">ossl_cipher_update()</a>.</p> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>
💾 Save Changes
❌ Cancel