Class: ECC::Signature
- Inherits:
-
Object
- Object
- ECC::Signature
- Defined in:
- lib/elliptic-lite/signature.rb
Instance Attribute Summary collapse
-
#r ⇒ Object
readonly
Returns the value of attribute r.
-
#s ⇒ Object
readonly
Returns the value of attribute s.
Instance Method Summary collapse
-
#initialize(r, s) ⇒ Signature
constructor
A new instance of Signature.
Constructor Details
#initialize(r, s) ⇒ Signature
Returns a new instance of Signature.
9 10 11 |
# File 'lib/elliptic-lite/signature.rb', line 9 def initialize( r, s ) @r, @s = r, s end |
Instance Attribute Details
#r ⇒ Object (readonly)
Returns the value of attribute r.
8 9 10 |
# File 'lib/elliptic-lite/signature.rb', line 8 def r @r end |
#s ⇒ Object (readonly)
Returns the value of attribute s.
8 9 10 |
# File 'lib/elliptic-lite/signature.rb', line 8 def s @s end |