class SSLyze::XML::Certinfo::CertificateValidation::VerifiedCertificateChain

Represents the `<verifiedCertificateChain>` XML element.

@since 1.0.0

Public Class Methods

new(node) click to toggle source

Initializes the {VerifiedCertificateChain} object.

@param [Nokogiri::XML::Element] node

The `<verifiedCertificateChain>` XML element.
# File lib/sslyze/xml/certinfo/certificate_validation/verified_certificate_chain.rb, line 24
def initialize(node)
  @node = node
end

Public Instance Methods

has_sha1_signed_certificate?() click to toggle source

Parses the `hasSha1SignedCertificate` XML attribute.

@return [Boolean]

# File lib/sslyze/xml/certinfo/certificate_validation/verified_certificate_chain.rb, line 33
def has_sha1_signed_certificate?
  Boolean[@node['hasSha1SignedCertificate']]
end