Class: SSLCheck::Validators::CABundle

Inherits:
GenericValidator show all
Defined in:
lib/sslcheck/validators/ca_bundle.rb

Instance Method Summary collapse

Methods inherited from GenericValidator

#initialize

Constructor Details

This class inherits a constructor from SSLCheck::Validators::GenericValidator

Instance Method Details

#validateObject



4
5
6
7
# File 'lib/sslcheck/validators/ca_bundle.rb', line 4

def validate
  return nil if verified_certificate?
  SSLCheck::Errors::Validation::CABundleVerification.new({:name => "Certificate Authority Verification", :message => "The Certificate could not be verified using the supplied Certificate Authority (CA) Bundle."})
end