Skip to content
instance method

OpenSSL::PKey::EC::Point#to_bn

(?::OpenSSL::PKey::EC::point_conversion_format conversion_form) -> ::OpenSSL::BN
point.to_bn([conversion_form]) → OpenSSL::BN

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.

See also #set_to_infinity! #to_octet_string #on_curve? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0