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)
-
- (Boolean) is_available?
is_available? is meant to be implemented to check if the backend store you choose to implement is currently working.
- - (Object) issue(issuer, serial)
- - (Object) revoke(issuer, serial, reason)
Instance Method Details
- (Boolean) is_available?
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
53 54 55 |
# File 'lib/r509/validity.rb', line 53 def is_available? raise NotImplementedError, "You must call #is_available? on a subclass of Writer" end |
- (Object) issue(issuer, serial)
43 44 45 |
# File 'lib/r509/validity.rb', line 43 def issue(issuer, serial) raise NotImplementedError, "You must call #issue on a subclass of Writer" end |
- (Object) revoke(issuer, serial, reason)
47 48 49 |
# File 'lib/r509/validity.rb', line 47 def revoke(issuer, serial, reason) raise NotImplementedError, "You must call #revoke on a subclass of Writer" end |