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
51 52 53 |
# File 'lib/r509/validity.rb', line 51 def is_available? raise NotImplementedError, "You must call #is_available? on a subclass of Writer" end |
- (Object) issue(issuer, serial)
41 42 43 |
# File 'lib/r509/validity.rb', line 41 def issue(issuer, serial) raise NotImplementedError, "You must call #issue on a subclass of Writer" end |
- (Object) revoke(issuer, serial, reason)
45 46 47 |
# File 'lib/r509/validity.rb', line 45 def revoke(issuer, serial, reason) raise NotImplementedError, "You must call #revoke on a subclass of Writer" end |