Method: SSLyze::XML::Certinfo::Certificate#==

Defined in:
lib/sslyze/xml/certinfo/certificate.rb

#==(other) ⇒ Boolean

Compares the other certificiate to this certificate.

Parameters:

Returns:

Since:

  • 1.0.0



195
196
197
# File 'lib/sslyze/xml/certinfo/certificate.rb', line 195

def ==(other)
  other.kind_of?(self.class) && other.as_pem == as_pem
end