Class: XSignature::NonceValidator
- Inherits:
-
Object
- Object
- XSignature::NonceValidator
- Defined in:
- lib/x-signature/nonce_validator.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#valid?(data) ⇒ Boolean
Some state should be maintained in order to protect API from replay attack en.wikipedia.org/wiki/Cryptographic_nonce.
Instance Method Details
#valid?(data) ⇒ Boolean
Some state should be maintained in order to protect API from replay attack en.wikipedia.org/wiki/Cryptographic_nonce
7 8 9 |
# File 'lib/x-signature/nonce_validator.rb', line 7 def valid?(data) fail NotImplementedError end |