Class: OpenSSL::PKey::EC::Point
- Inherits:
-
Object
- Object
- OpenSSL::PKey::EC::Point
- Defined in:
- lib/ext/openssl_ec.rb
Instance Method Summary collapse
Instance Method Details
#add(point) ⇒ Object
63 64 65 |
# File 'lib/ext/openssl_ec.rb', line 63 def add(point) PolyPseudo::OpenSSLPointExtension.add(self, point) end |
#to_hex(compressed = true) ⇒ Object
75 76 77 |
# File 'lib/ext/openssl_ec.rb', line 75 def to_hex(compressed = true) PolyPseudo::OpenSSLPointExtension.point2hex(self, compressed) end |
#x ⇒ Object
67 68 69 |
# File 'lib/ext/openssl_ec.rb', line 67 def x PolyPseudo::OpenSSLPointExtension.x_y(self)[0] end |
#y ⇒ Object
71 72 73 |
# File 'lib/ext/openssl_ec.rb', line 71 def y PolyPseudo::OpenSSLPointExtension.x_y(self)[1] end |