Class: ECC::Signature

Inherits:
Object
  • Object
show all
Defined in:
lib/elliptic-lite/signature.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rObject (readonly)

Returns the value of attribute r.



8
9
10
# File 'lib/elliptic-lite/signature.rb', line 8

def r
  @r
end

#sObject (readonly)

Returns the value of attribute s.



8
9
10
# File 'lib/elliptic-lite/signature.rb', line 8

def s
  @s
end