Class: R509::Validity::Writer
- Inherits:
-
Object
- Object
- R509::Validity::Writer
- Defined in:
- lib/r509/validity.rb
Overview
abstract base class for a Writer
Direct Known Subclasses
Instance Method Summary collapse
-
#is_available? ⇒ Boolean
is_available? is meant to be implemented to check if the backend store you choose to implement is currently working.
- #issue(issuer, serial) ⇒ Object
- #revoke(issuer, serial, reason) ⇒ Object
Instance Method Details
#is_available? ⇒ Boolean
is_available? is meant to be implemented to check if the backend store you choose to implement is currently working. see r509-ocsp-responder and r509-validity-redis for an example of use
58 59 60 61 |
# File 'lib/r509/validity.rb', line 58 def is_available? fail NotImplementedError, "You must call #is_available? on a subclass of Writer" end |
#issue(issuer, serial) ⇒ Object
45 46 47 48 |
# File 'lib/r509/validity.rb', line 45 def issue(issuer, serial) fail NotImplementedError, "You must call #issue on a subclass of Writer" end |
#revoke(issuer, serial, reason) ⇒ Object
50 51 52 53 |
# File 'lib/r509/validity.rb', line 50 def revoke(issuer, serial, reason) fail NotImplementedError, "You must call #revoke on a subclass of Writer" end |