Sha256: 1d925a5ab8c427b1a3a28cf9acc0e42013bc372d3fa23348220e1745bef4baf9

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

class CertValidator
  class NullOcspValidator
    attr_reader :certificate
    attr_reader :ca
    
    def initialize(_cert, _ca)
    end

    def available?
      false
    end

    def valid?
      raise OcspNotAvailableError.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cert_validator-0.0.1 lib/cert_validator/ocsp/null_validator.rb