Attributes
Read
No documentation available
Class Methods

Creates a new instance of OpenSSL::PKey::EC::Point. If the only argument is an instance of EC::Point, a copy is returned. Otherwise, creates a point that belongs to group.

encoded_point is the octet string representation of the point. This must be either a String or an OpenSSL::BN.

Instance Methods

Performs elliptic curve point addition.

No documentation available
No documentation available
No documentation available

This method is deprecated and should not be used. This is a no-op.

Performs elliptic curve point multiplication.

The first form calculates bn1 * point + bn2 * G, where G is the generator of the group of point. bn2 may be omitted, and in that case, the result is just bn1 * point.

Before version 4.0.0, and when compiled with OpenSSL 1.1.1 or older, this method allowed another form:

point.mul(bns, points [, bn2]) => point
No documentation available
No documentation available

Returns the octet string representation of the EC point as an instance of OpenSSL::BN.

If conversion_form is not given, the point_conversion_form attribute set to the group is used.

See to_octet_string for more information.

Returns the octet string representation of the elliptic curve point.

conversion_form specifies how the point is converted. Possible values are:

  • :compressed

  • :uncompressed

  • :hybrid