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

- (Object) check(issuer, serial)



71
72
73
# File 'lib/r509/validity.rb', line 71

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

- (Boolean) is_available?

Returns:

  • (Boolean)


75
76
77
# File 'lib/r509/validity.rb', line 75

def is_available?
    true
end