class R509::Validity::Checker

abstract base class for a Checker

Public Instance Methods

check(issuer, serial) click to toggle source
# File lib/r509/validity.rb, line 66
def check(issuer, serial)
  fail NotImplementedError, "You must call #check on a subclass of Checker"
end
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 73
def is_available?
  fail NotImplementedError,
       "You must call #is_available? on a subclass of Checker"
end