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)



73
74
75
# File 'lib/r509/validity.rb', line 73

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

- (Boolean) is_available?

Returns:

  • (Boolean)


77
78
79
# File 'lib/r509/validity.rb', line 77

def is_available?
  true
end