method

to_bn

ruby latest stable - Class: OpenSSL::PKey::EC::Point
to_bn(conversion_form = group.point_conversion_form)
public

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.