class OpenSSL::PKey::EC::Point

def ssh_type

SSH2 protocol, like "ecdsa-sha2-nistp256"
Returns the description of this key type used by the
def ssh_type
  "ecdsa-sha2-#{CurveNameAliasInv[group.curve_name]}"
end

def to_blob

Converts the key to a blob, according to the SSH2 protocol.
def to_blob
  @blob ||= Net::SSH::Buffer.from(:string, ssh_type,
                                  :string, CurveNameAliasInv[group.curve_name],
                                  :mstring, to_bn.to_s(2)).to_s
  @blob
end