Class: R509::Validity::DefaultChecker

Inherits:
Checker
  • Object
show all
Defined in:
lib/r509/validity.rb

Overview

default implementaton of the Checker class. Used for tests. DO NOT USE OTHERWISE

Instance Method Summary collapse

Instance Method Details

#check(issuer, serial) ⇒ Object



82
83
84
# File 'lib/r509/validity.rb', line 82

def check(issuer, serial)
  R509::Validity::Status.new(:status => R509::Validity::VALID)
end

#is_available?Boolean

Returns:

  • (Boolean)


86
87
88
# File 'lib/r509/validity.rb', line 86

def is_available?
  true
end