class SSLyze::XML::HTTPHeaders
Represents the `<http_headers>` XML
element.
@since 1.0.0
Public Instance Methods
http_public_key_pinning()
click to toggle source
HTTP Public-Key-Pinning header information.
@return [HTTPPublicKeyPinning, nil]
# File lib/sslyze/xml/http_headers.rb, line 32 def http_public_key_pinning @http_public_key_pinning ||= if (element = @node.at_xpath('httpPublicKeyPinning')) HTTPPublicKeyPinning.new(element) end end
Also aliased as: public_key_pinning
http_strict_transport_security()
click to toggle source
HTTP Strict-Transport-Security header information.
@return [HTTPStrictTransportSecurity, nil]
# File lib/sslyze/xml/http_headers.rb, line 19 def http_strict_transport_security @http_strict_transport_security ||= if (element = @node.at_xpath('httpStrictTransportSecurity')) HTTPStrictTransportSecurity.new(element) end end
Also aliased as: strict_transport_security