Method: SSLyze::XML::HTTPHeaders#http_public_key_pinning

Defined in:
lib/sslyze/xml/http_headers.rb

#http_public_key_pinningHTTPPublicKeyPinning? Also known as: public_key_pinning

HTTP Public-Key-Pinning header information.

Returns:

Since:

  • 1.0.0



32
33
34
35
36
# 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