class R509::Validity::Writer

abstract base class for a Writer

Public Instance Methods

is_available?() click to toggle source

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

# 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) click to toggle source
# 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) click to toggle source
# File lib/r509/validity.rb, line 50
def revoke(issuer, serial, reason)
  fail NotImplementedError,
       "You must call #revoke on a subclass of Writer"
end