Class: Alipay::Sign::DSA

Inherits:
Object
  • Object
show all
Defined in:
lib/alipay/sign/dsa.rb

Class Method Summary collapse

Class Method Details

.sign(key, string) ⇒ Object

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/alipay/sign/dsa.rb', line 4

def self.sign(key, string)
  raise NotImplementedError, 'DSA sign is not implemented'
end

.verify?(string, sign) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/alipay/sign/dsa.rb', line 8

def self.verify?(string, sign)
  raise NotImplementedError, 'DSA verify is not implemented'
end