Class: OpenSSL::PKey::EC::Point
- Inherits:
-
Object
- Object
- OpenSSL::PKey::EC::Point
- Includes:
- MoneyTree::OpenSSLExtensions
- Defined in:
- lib/openssl_extensions.rb
Constant Summary
Constants included from MoneyTree::OpenSSLExtensions
MoneyTree::OpenSSLExtensions::NID_secp256k1, MoneyTree::OpenSSLExtensions::POINT_CONVERSION_COMPRESSED, MoneyTree::OpenSSLExtensions::POINT_CONVERSION_UNCOMPRESSED
Instance Method Summary collapse
Methods included from MoneyTree::OpenSSLExtensions
Instance Method Details
#add(point) ⇒ Object
68 69 70 71 |
# File 'lib/openssl_extensions.rb', line 68 def add(point) sum_point_hex = MoneyTree::OpenSSLExtensions.add(self, point) self.class.new group, OpenSSL::BN.new(sum_point_hex, 16) end |