summaryrefslogtreecommitdiffstats
path: root/OpenSSL/PKey/EC
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL/PKey/EC')
-rw-r--r--OpenSSL/PKey/EC/Group.html330
-rw-r--r--OpenSSL/PKey/EC/Group/Error.html17
-rw-r--r--OpenSSL/PKey/EC/Point.html239
-rw-r--r--OpenSSL/PKey/EC/Point/Error.html17
4 files changed, 31 insertions, 572 deletions
diff --git a/OpenSSL/PKey/EC/Group.html b/OpenSSL/PKey/EC/Group.html
index 55253bed..42d18499 100644
--- a/OpenSSL/PKey/EC/Group.html
+++ b/OpenSSL/PKey/EC/Group.html
@@ -21,8 +21,6 @@
<link href="../../../css/rdoc.css" rel="stylesheet">
-
-
<body id="top" role="document" class="class">
<nav role="navigation">
<div id="project-navigation">
@@ -59,60 +57,40 @@
<div id="class-metadata">
- <div id="parent-class-section" class="nav-section">
+
+<div id="parent-class-section" class="nav-section">
<h3>Parent</h3>
-
<p class="link">Object
-
</div>
- <!-- Method Quickref -->
+
+<!-- Method Quickref -->
<div id="method-list-section" class="nav-section">
<h3>Methods</h3>
<ul class="link-list" role="directory">
-
<li ><a href="#method-c-new">::new</a>
-
<li ><a href="#method-i-3D-3D">#==</a>
-
<li ><a href="#method-i-asn1_flag">#asn1_flag</a>
-
<li ><a href="#method-i-asn1_flag-3D">#asn1_flag=</a>
-
<li ><a href="#method-i-cofactor">#cofactor</a>
-
<li ><a href="#method-i-curve_name">#curve_name</a>
-
<li ><a href="#method-i-degree">#degree</a>
-
<li ><a href="#method-i-eql-3F">#eql?</a>
-
<li ><a href="#method-i-generator">#generator</a>
-
<li ><a href="#method-i-initialize_copy">#initialize_copy</a>
-
<li ><a href="#method-i-order">#order</a>
-
<li ><a href="#method-i-point_conversion_form">#point_conversion_form</a>
-
<li ><a href="#method-i-point_conversion_form-3D">#point_conversion_form=</a>
-
<li ><a href="#method-i-seed">#seed</a>
-
<li ><a href="#method-i-seed-3D">#seed=</a>
-
<li ><a href="#method-i-set_generator">#set_generator</a>
-
<li ><a href="#method-i-to_der">#to_der</a>
-
<li ><a href="#method-i-to_pem">#to_pem</a>
-
<li ><a href="#method-i-to_text">#to_text</a>
-
</ul>
</div>
@@ -128,67 +106,46 @@
</section>
-
<section id="5Buntitled-5D" class="documentation-section">
-
-
-
-
-
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
<header>
<h3>Public Class Methods</h3>
</header>
-
<div id="method-c-new" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::PKey::EC::Group.new(ec_group)
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::PKey::EC::Group.new(pem_or_der_encoded)
</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::PKey::EC::Group.new(ec_method)
</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::PKey::EC::Group.new(:GFp, bignum_p, bignum_a, bignum_b)
</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::PKey::EC::Group.new(:GF2m, bignum_p, bignum_a, bignum_b)
</span>
-
</div>
-
-
<div class="method-description">
-
<p>Creates a new <a href="Group.html"><code>EC::Group</code></a> object.</p>
<p><em>ec_method</em> is a symbol that represents an EC_METHOD. Currently the following are supported:</p>
@@ -203,10 +160,7 @@
</li></ul>
<p>If the first argument is :GFp or :GF2m, creates a new curve with given parameters.</p>
-
-
-
<div class="method-source-code" id="new-source">
<pre>static VALUE ossl_ec_group_initialize(int argc, VALUE *argv, VALUE self)
{
@@ -312,74 +266,49 @@
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
</section>
-
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
<header>
<h3>Public Instance Methods</h3>
</header>
-
<div id="method-i-3D-3D" class="method-detail method-alias">
-
<div class="method-heading">
- <span class="method-name">==</span><span
- class="method-args">(p1)</span>
-
+ <span class="method-callseq">
+ group1 == group2 &rarr; true | false
+ </span>
</div>
-
<div class="method-description">
-
-
-
-
+ <p>Returns <code>true</code> if the two groups use the same curve and have the same parameters, <code>false</code> otherwise.</p>
-
</div>
-
-
<div class="aliases">
Alias for: <a href="Group.html#method-i-eql-3F">eql?</a>
</div>
-
</div>
-
<div id="method-i-asn1_flag" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
asn1_flag &rarr; Integer
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the flags set on the group.</p>
<p>See also <a href="Group.html#method-i-asn1_flag-3D"><code>asn1_flag=</code></a>.</p>
-
-
-
<div class="method-source-code" id="asn1_flag-source">
<pre>static VALUE ossl_ec_group_get_asn1_flag(VALUE self)
{
@@ -392,31 +321,20 @@
return INT2NUM(flag);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-asn1_flag-3D" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
asn1_flag = flags
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Sets flags on the group. The flag value is used to determine how to encode the group: encode explicit parameters or named curve using an OID.</p>
<p>The flag value can be either of:</p>
@@ -427,10 +345,7 @@
</li></ul>
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_set_asn1_flag().</p>
-
-
-
<div class="method-source-code" id="asn1_flag-3D-source">
<pre>static VALUE ossl_ec_group_set_asn1_flag(VALUE self, VALUE flag_v)
{
@@ -442,38 +357,24 @@
return flag_v;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-cofactor" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
get_cofactor &rarr; cofactor_bn
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the cofactor of the group.</p>
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_get_cofactor()</p>
-
-
-
<div class="method-source-code" id="cofactor-source">
<pre>static VALUE ossl_ec_group_get_cofactor(VALUE self)
{
@@ -492,38 +393,24 @@
return bn_obj;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-curve_name" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
curve_name &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the curve name (sn).</p>
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_get_curve_name()</p>
-
-
-
<div class="method-source-code" id="curve_name-source">
<pre>static VALUE ossl_ec_group_get_curve_name(VALUE self)
{
@@ -540,36 +427,22 @@
return rb_str_new2(OBJ_nid2sn(nid));
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-degree" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
degree &rarr; integer
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_get_degree()</p>
-
-
-
<div class="method-source-code" id="degree-source">
<pre>static VALUE ossl_ec_group_get_degree(VALUE self)
{
@@ -580,43 +453,22 @@
return INT2NUM(EC_GROUP_get_degree(group));
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-eql-3F" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
eql?(group2) &rarr; true | false
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
- <div class="method-heading">
- <span class="method-callseq">
- group1 == group2 &rarr; true | false
- </span>
-
- </div>
-
-
<div class="method-description">
-
<p>Returns <code>true</code> if the two groups use the same curve and have the same parameters, <code>false</code> otherwise.</p>
-
-
-
<div class="method-source-code" id="eql-3F-source">
<pre>static VALUE ossl_ec_group_eql(VALUE a, VALUE b)
{
@@ -631,42 +483,27 @@
return Qtrue;
}</pre>
</div>
-
</div>
-
<div class="aliases">
Also aliased as: <a href="Group.html#method-i-3D-3D">==</a>
</div>
-
-
</div>
-
<div id="method-i-generator" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
generator &rarr; ec_point
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the generator of the group.</p>
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_get0_generator()</p>
-
-
-
<div class="method-source-code" id="generator-source">
<pre>static VALUE ossl_ec_group_get_generator(VALUE self)
{
@@ -681,33 +518,21 @@
return ec_point_new(generator, group);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-initialize_copy" class="method-detail ">
-
<div class="method-heading">
<span class="method-name">initialize_copy</span><span
class="method-args">(p1)</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="initialize_copy-source">
<pre>static VALUE
ossl_ec_group_initialize_copy(VALUE self, VALUE other)
@@ -727,38 +552,24 @@ ossl_ec_group_initialize_copy(VALUE self, VALUE other)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-order" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
get_order &rarr; order_bn
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the order of the group.</p>
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_get_order()</p>
-
-
-
<div class="method-source-code" id="order-source">
<pre>static VALUE ossl_ec_group_get_order(VALUE self)
{
@@ -777,38 +588,24 @@ ossl_ec_group_initialize_copy(VALUE self, VALUE other)
return bn_obj;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-point_conversion_form" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
point_conversion_form &rarr; Symbol
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the form how <a href="Point.html"><code>EC::Point</code></a> data is encoded as ASN.1.</p>
<p>See also <a href="Group.html#method-i-point_conversion_form-3D"><code>point_conversion_form=</code></a>.</p>
-
-
-
<div class="method-source-code" id="point_conversion_form-source">
<pre>static VALUE ossl_ec_group_get_point_conversion_form(VALUE self)
{
@@ -829,31 +626,20 @@ ossl_ec_group_initialize_copy(VALUE self, VALUE other)
return ID2SYM(ret);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-point_conversion_form-3D" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
point_conversion_form = form
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Sets the form how <a href="Point.html"><code>EC::Point</code></a> data is encoded as ASN.1 as defined in X9.62.</p>
<p><em>format</em> can be one of these:</p>
@@ -869,10 +655,7 @@ ossl_ec_group_initialize_copy(VALUE self, VALUE other)
</dd></dl>
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_set_point_conversion_form()</p>
-
-
-
<div class="method-source-code" id="point_conversion_form-3D-source">
<pre>static VALUE
ossl_ec_group_set_point_conversion_form(VALUE self, VALUE form_v)
@@ -888,36 +671,22 @@ ossl_ec_group_set_point_conversion_form(VALUE self, VALUE form_v)
return form_v;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-seed" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
seed &rarr; String or nil
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_get0_seed()</p>
-
-
-
<div class="method-source-code" id="seed-source">
<pre>static VALUE ossl_ec_group_get_seed(VALUE self)
{
@@ -933,36 +702,22 @@ ossl_ec_group_set_point_conversion_form(VALUE self, VALUE form_v)
return rb_str_new((const char *)EC_GROUP_get0_seed(group), seed_len);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-seed-3D" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
seed = seed &rarr; seed
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_set_seed()</p>
-
-
-
<div class="method-source-code" id="seed-3D-source">
<pre>static VALUE ossl_ec_group_set_seed(VALUE self, VALUE seed)
{
@@ -977,38 +732,24 @@ ossl_ec_group_set_point_conversion_form(VALUE self, VALUE form_v)
return seed;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-set_generator" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
set_generator(generator, order, cofactor) &rarr; self
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Sets the curve parameters. <em>generator</em> must be an instance of <a href="Point.html"><code>EC::Point</code></a> that is on the curve. <em>order</em> and <em>cofactor</em> are integers.</p>
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for EC_GROUP_set_generator()</p>
-
-
-
<div class="method-source-code" id="set_generator-source">
<pre>static VALUE ossl_ec_group_set_generator(VALUE self, VALUE generator, VALUE order, VALUE cofactor)
{
@@ -1027,108 +768,66 @@ ossl_ec_group_set_point_conversion_form(VALUE self, VALUE form_v)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-to_der" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
to_der &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for i2d_ECPKParameters_bio()</p>
-
-
-
<div class="method-source-code" id="to_der-source">
<pre>static VALUE ossl_ec_group_to_der(VALUE self)
{
return ossl_ec_group_to_string(self, EXPORT_DER);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-to_pem" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
to_pem &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for PEM_write_bio_ECPKParameters()</p>
-
-
-
<div class="method-source-code" id="to_pem-source">
<pre>static VALUE ossl_ec_group_to_pem(VALUE self)
{
return ossl_ec_group_to_string(self, EXPORT_PEM);
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-to_text" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
to_text &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>See the <a href="../../../OpenSSL.html"><code>OpenSSL</code></a> documentation for ECPKParameters_print()</p>
-
-
-
<div class="method-source-code" id="to_text-source">
<pre>static VALUE ossl_ec_group_to_text(VALUE self)
{
@@ -1149,25 +848,20 @@ ossl_ec_group_set_point_conversion_form(VALUE self, VALUE form_v)
return str;
}</pre>
</div>
-
</div>
-
-
</div>
-
</section>
-
- </section>
+ </section>
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>
diff --git a/OpenSSL/PKey/EC/Group/Error.html b/OpenSSL/PKey/EC/Group/Error.html
index f468eb96..bab3b910 100644
--- a/OpenSSL/PKey/EC/Group/Error.html
+++ b/OpenSSL/PKey/EC/Group/Error.html
@@ -21,8 +21,6 @@
<link href="../../../../css/rdoc.css" rel="stylesheet">
-
-
<body id="top" role="document" class="class">
<nav role="navigation">
<div id="project-navigation">
@@ -59,12 +57,11 @@
<div id="class-metadata">
- <div id="parent-class-section" class="nav-section">
+
+<div id="parent-class-section" class="nav-section">
<h3>Parent</h3>
-
<p class="link"><a href="../../../OpenSSLError.html">OpenSSL::OpenSSLError</a>
-
</div>
@@ -82,25 +79,19 @@
</section>
-
<section id="5Buntitled-5D" class="documentation-section">
-
-
-
-
-
- </section>
+ </section>
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>
diff --git a/OpenSSL/PKey/EC/Point.html b/OpenSSL/PKey/EC/Point.html
index 64c19876..706be750 100644
--- a/OpenSSL/PKey/EC/Point.html
+++ b/OpenSSL/PKey/EC/Point.html
@@ -21,8 +21,6 @@
<link href="../../../css/rdoc.css" rel="stylesheet">
-
-
<body id="top" role="document" class="class">
<nav role="navigation">
<div id="project-navigation">
@@ -59,48 +57,34 @@
<div id="class-metadata">
- <div id="parent-class-section" class="nav-section">
+
+<div id="parent-class-section" class="nav-section">
<h3>Parent</h3>
-
<p class="link">Object
-
</div>
- <!-- Method Quickref -->
+
+<!-- Method Quickref -->
<div id="method-list-section" class="nav-section">
<h3>Methods</h3>
<ul class="link-list" role="directory">
-
<li ><a href="#method-c-new">::new</a>
-
<li ><a href="#method-i-3D-3D">#==</a>
-
<li ><a href="#method-i-add">#add</a>
-
<li ><a href="#method-i-eql-3F">#eql?</a>
-
<li ><a href="#method-i-infinity-3F">#infinity?</a>
-
<li ><a href="#method-i-initialize_copy">#initialize_copy</a>
-
<li ><a href="#method-i-invert-21">#invert!</a>
-
<li ><a href="#method-i-make_affine-21">#make_affine!</a>
-
<li ><a href="#method-i-mul">#mul</a>
-
<li ><a href="#method-i-on_curve-3F">#on_curve?</a>
-
<li ><a href="#method-i-set_to_infinity-21">#set_to_infinity!</a>
-
<li ><a href="#method-i-to_bn">#to_bn</a>
-
<li ><a href="#method-i-to_octet_string">#to_octet_string</a>
-
</ul>
</div>
@@ -116,21 +100,15 @@
</section>
-
<section id="5Buntitled-5D" class="documentation-section">
-
-
-
-
<section class="attribute-method-details" class="method-section">
<header>
<h3>Attributes</h3>
</header>
-
<div id="attribute-i-group" class="method-detail">
<div class="method-heading attribute-method-heading">
<span class="method-name">group</span><span
@@ -139,51 +117,34 @@
<div class="method-description">
-
-
</div>
</div>
-
</section>
-
-
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
<header>
<h3>Public Class Methods</h3>
</header>
-
<div id="method-c-new" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::PKey::EC::Point.new(point)
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
OpenSSL::PKey::EC::Point.new(group [, encoded_point])
</span>
-
</div>
-
-
<div class="method-description">
-
<p>Creates a new instance of <a href="Point.html"><code>OpenSSL::PKey::EC::Point</code></a>. If the only argument is an instance of <a href="Point.html"><code>EC::Point</code></a>, a copy is returned. Otherwise, creates a point that belongs to <em>group</em>.</p>
<p><em>encoded_point</em> is the octet string representation of the point. This must be either a String or an <a href="../../BN.html"><code>OpenSSL::BN</code></a>.</p>
-
-
-
<div class="method-source-code" id="new-source">
<pre>static VALUE ossl_ec_point_initialize(int argc, VALUE *argv, VALUE self)
{
@@ -234,72 +195,47 @@
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
</section>
-
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
<header>
<h3>Public Instance Methods</h3>
</header>
-
<div id="method-i-3D-3D" class="method-detail method-alias">
-
<div class="method-heading">
- <span class="method-name">==</span><span
- class="method-args">(p1)</span>
-
+ <span class="method-callseq">
+ point1 == point2 &rarr; true | false
+ </span>
</div>
-
<div class="method-description">
-
-
-
-
</div>
-
-
<div class="aliases">
Alias for: <a href="Point.html#method-i-eql-3F">eql?</a>
</div>
-
</div>
-
<div id="method-i-add" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
add(point) &rarr; point
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Performs elliptic curve point addition.</p>
-
-
-
<div class="method-source-code" id="add-source">
<pre>static VALUE ossl_ec_point_add(VALUE self, VALUE other)
{
@@ -323,43 +259,22 @@
return result;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-eql-3F" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
eql?(point2) &rarr; true | false
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
- <div class="method-heading">
- <span class="method-callseq">
- point1 == point2 &rarr; true | false
- </span>
-
- </div>
-
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="eql-3F-source">
<pre>static VALUE ossl_ec_point_eql(VALUE a, VALUE b)
{
@@ -381,40 +296,25 @@
return Qtrue;
}</pre>
</div>
-
</div>
-
<div class="aliases">
Also aliased as: <a href="Point.html#method-i-3D-3D">==</a>
</div>
-
-
</div>
-
<div id="method-i-infinity-3F" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
infinity? &rarr; true | false
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="infinity-3F-source">
<pre>static VALUE ossl_ec_point_is_at_infinity(VALUE self)
{
@@ -433,33 +333,21 @@
UNREACHABLE;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-initialize_copy" class="method-detail ">
-
<div class="method-heading">
<span class="method-name">initialize_copy</span><span
class="method-args">(p1)</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="initialize_copy-source">
<pre>static VALUE
ossl_ec_point_initialize_copy(VALUE self, VALUE other)
@@ -485,36 +373,22 @@ ossl_ec_point_initialize_copy(VALUE self, VALUE other)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-invert-21" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
invert! &rarr; self
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="invert-21-source">
<pre>static VALUE ossl_ec_point_invert(VALUE self)
{
@@ -530,36 +404,22 @@ ossl_ec_point_initialize_copy(VALUE self, VALUE other)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-make_affine-21" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
make_affine! &rarr; self
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="make_affine-21-source">
<pre>static VALUE ossl_ec_point_make_affine(VALUE self)
{
@@ -575,47 +435,31 @@ ossl_ec_point_initialize_copy(VALUE self, VALUE other)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-mul" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
mul(bn1 [, bn2]) &rarr; point
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
<div class="method-heading">
<span class="method-callseq">
mul(bns, points [, bn2]) &rarr; point
</span>
-
</div>
-
-
<div class="method-description">
-
<p>Performs elliptic curve point multiplication.</p>
<p>The first form calculates <code>bn1 * point + bn2 * G</code>, where <code>G</code> is the generator of the group of <em>point</em>. <em>bn2</em> may be omitted, and in that case, the result is just <code>bn1 * point</code>.</p>
<p>The second form calculates <code>bns[0] * point + bns[1] * points[0] + ... + bns[-1] * points[-1] + bn2 * G</code>. <em>bn2</em> may be omitted. <em>bns</em> must be an array of <a href="../../BN.html"><code>OpenSSL::BN</code></a>. <em>points</em> must be an array of <a href="Point.html"><code>OpenSSL::PKey::EC::Point</code></a>. Please note that <code>points[0]</code> is not multiplied by <code>bns[0]</code>, but <code>bns[1]</code>.</p>
-
-
-
<div class="method-source-code" id="mul-source">
<pre>static VALUE ossl_ec_point_mul(int argc, VALUE *argv, VALUE self)
{
@@ -685,36 +529,22 @@ ossl_ec_point_initialize_copy(VALUE self, VALUE other)
return result;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-on_curve-3F" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
on_curve? &rarr; true | false
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="on_curve-3F-source">
<pre>static VALUE ossl_ec_point_is_on_curve(VALUE self)
{
@@ -733,36 +563,22 @@ ossl_ec_point_initialize_copy(VALUE self, VALUE other)
UNREACHABLE;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-set_to_infinity-21" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
set_to_infinity! &rarr; self
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
-
-
-
<div class="method-source-code" id="set_to_infinity-21-source">
<pre>static VALUE ossl_ec_point_set_to_infinity(VALUE self)
{
@@ -778,71 +594,46 @@ ossl_ec_point_initialize_copy(VALUE self, VALUE other)
return self;
}</pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-to_bn" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
to_bn([conversion_form]) &rarr; OpenSSL::BN
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the octet string representation of the <a href="../EC.html"><code>EC</code></a> point as an instance of <a href="../../BN.html"><code>OpenSSL::BN</code></a>.</p>
<p>If <em>conversion_form</em> is not given, the <em>point_conversion_form</em> attribute set to the group is used.</p>
<p>See <a href="Point.html#method-i-to_octet_string"><code>to_octet_string</code></a> for more information.</p>
-
-
-
<div class="method-source-code" id="to_bn-source">
<pre><span class="ruby-comment"># File lib/openssl/pkey.rb, line 33</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_bn</span>(<span class="ruby-identifier">conversion_form</span> = <span class="ruby-identifier">group</span>.<span class="ruby-identifier">point_conversion_form</span>)
<span class="ruby-constant">OpenSSL</span><span class="ruby-operator">::</span><span class="ruby-constant">BN</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">to_octet_string</span>(<span class="ruby-identifier">conversion_form</span>), <span class="ruby-value">2</span>)
<span class="ruby-keyword">end</span></pre>
</div>
-
</div>
-
-
</div>
-
<div id="method-i-to_octet_string" class="method-detail ">
-
-
<div class="method-heading">
<span class="method-callseq">
to_octet_string(conversion_form) &rarr; String
</span>
-
<span class="method-click-advice">click to toggle source</span>
-
</div>
-
-
<div class="method-description">
-
<p>Returns the octet string representation of the elliptic curve point.</p>
<p><em>conversion_form</em> specifies how the point is converted. Possible values are:</p>
@@ -853,10 +644,7 @@ ossl_ec_point_initialize_copy(VALUE self, VALUE other)
</li><li>
<p><code>:hybrid</code></p>
</li></ul>
-
-
-
<div class="method-source-code" id="to_octet_string-source">
<pre>static VALUE
ossl_ec_point_to_octet_string(VALUE self, VALUE conversion_form)
@@ -882,25 +670,20 @@ ossl_ec_point_to_octet_string(VALUE self, VALUE conversion_form)
return str;
}</pre>
</div>
-
</div>
-
-
</div>
-
</section>
-
- </section>
+ </section>
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>
diff --git a/OpenSSL/PKey/EC/Point/Error.html b/OpenSSL/PKey/EC/Point/Error.html
index c19537ca..f5aec240 100644
--- a/OpenSSL/PKey/EC/Point/Error.html
+++ b/OpenSSL/PKey/EC/Point/Error.html
@@ -21,8 +21,6 @@
<link href="../../../../css/rdoc.css" rel="stylesheet">
-
-
<body id="top" role="document" class="class">
<nav role="navigation">
<div id="project-navigation">
@@ -59,12 +57,11 @@
<div id="class-metadata">
- <div id="parent-class-section" class="nav-section">
+
+<div id="parent-class-section" class="nav-section">
<h3>Parent</h3>
-
<p class="link"><a href="../../../OpenSSLError.html">OpenSSL::OpenSSLError</a>
-
</div>
@@ -82,25 +79,19 @@
</section>
-
<section id="5Buntitled-5D" class="documentation-section">
-
-
-
-
-
- </section>
+ </section>
</main>
<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.2.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>