Returns the octet string representation of the elliptic curve point.
conversion_form specifies how the point is converted. Possible values are:
:compressed
:uncompressed
:hybrid
Returns the form how EC::Point
data is encoded as ASN.1.
See also point_conversion_form=
.
Sets the form how EC::Point
data is encoded as ASN.1 as defined in X9.62.
format can be one of these:
:compressed
Encoded as z||x, where z is an octet indicating which solution of the equation y is. z will be 0x02 or 0x03.
:uncompressed
Encoded as z||x||y, where z is an octet 0x04.
:hybrid
Encodes as z||x||y, where z is an octet indicating which solution of the equation y is. z will be 0x06 or 0x07.
See the OpenSSL
documentation for EC_GROUP_set_point_conversion_form()
begin end ^^^^^^^^^
defined? a ^^^^^^^^^^
defined?(a) ^^^^^^^^^^^
case foo; in bar; end ^^^^^^^^^^^^^^^^^^^^^
begin end ^^^^^^^^^
defined? a ^^^^^^^^^^
defined?(a) ^^^^^^^^^^^
case foo; in bar; end ^^^^^^^^^^^^^^^^^^^^^
Visit the interpolated content of the string-like node.
Visit the clauses of a begin node to form an on_bodystmt call.
case foo; in bar; end ^^^^^^^^^^^^^^^^^^^^^
foo, = 1 ^^^^^^^^
:“foo #{bar}” ^^^^^^^^^^^^^