doc/file.README.html in r509-0.9.1 vs doc/file.README.html in r509-0.9.2

- old
+ new

@@ -202,12 +202,11 @@ <h4>Load Hardware Engines in PrivateKey</h4> <p>The engine you want to load must already be available to OpenSSL. How to compile/install OpenSSL engines is outside the scope of this document.</p> -<pre class="code ruby"><code class="ruby"><span class='const'>OpenSSL</span><span class='op'>::</span><span class='const'>Engine</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>engine_name</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> -<span class='id identifier rubyid_engine'>engine</span> <span class='op'>=</span> <span class='const'>OpenSSL</span><span class='op'>::</span><span class='const'>Engine</span><span class='period'>.</span><span class='id identifier rubyid_by_id'>by_id</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>engine_name</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> +<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_engine'>engine</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Engine</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>SO_PATH</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/usr/lib64/openssl/engines/libchil.so</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ID</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>chil</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>PrivateKey</span><span class='lparen'>(</span> <span class='symbol'>:engine</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_engine'>engine</span><span class='comma'>,</span> <span class='symbol'>:key_name</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>my_key_name</span><span class='tstring_end'>&quot;</span></span> <span class='rparen'>)</span> </code></pre> @@ -497,11 +496,11 @@ <p>This hash defines the certificate + key that will be used to sign for the ca_name. Depending on desired configuration various elements are optional. You can even supply just <strong>cert</strong> (for example, if you are using an ocsp_cert hash and only using the configured CA for OCSP responses)</p> <ul> <li>cert (cannot use with pkcs12)</li> <li>key (optional, cannot use with pkcs12)</li> -<li>engine (optional, cannot be used with key or pkcs12)</li> +<li>engine (optional, cannot be used with key or pkcs12. Must be a hash with SO_PATH and ID keys)</li> <li>key_name (required when using engine)</li> <li>pkcs12 (optional, cannot be used with key or cert)</li> <li>password (optional, used for pkcs12 or passworded private key)</li> </ul> @@ -510,11 +509,11 @@ <p>This hash defines the certificate + key that will be used to sign for OCSP responses. OCSP responses cannot be directly created with r509, but require the ancillary gem <a href="https://github.com/reaperhulk/r509-ocsp-responder">r509-ocsp-responder</a>. This hash is optional and if not provided r509 will automatically use the ca_cert as the OCSP certificate.</p> <ul> <li>cert (cannot use with pkcs12)</li> <li>key (optional, cannot use with pkcs12)</li> -<li>engine (optional, cannot be used with key or pkcs12)</li> +<li>engine (optional, cannot be used with key or pkcs12. Must be a hash with SO_PATH and ID keys)</li> <li>key_name (required when using engine)</li> <li>pkcs12 (optional, cannot be used with key or cert)</li> <li>password (optional, used for pkcs12 or passworded private key)</li> </ul> @@ -720,10 +719,10 @@ <p>If you use the R509::OIDMapper you can create new shortnames that are allowed within this directive.</p> </div></div> <div id="footer"> - Generated on Wed Apr 17 15:21:06 2013 by + Generated on Tue Apr 23 10:46:04 2013 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.8.5 (ruby-1.9.3). </div> </body> \ No newline at end of file