Class: SSLyze::XML::ResumRate

Inherits:
Plugin
  • Object
show all
Defined in:
lib/sslyze/xml/resum_rate.rb

Overview

Represents the <resum_rate/> XML element.

Since:

  • 1.0.0

Constant Summary collapse

SessionResumptionWithSessionIDs =

Since:

  • 1.0.0

Resum::SessionResumptionWithSessionIDs

Instance Method Summary collapse

Methods inherited from Plugin

#initialize

Methods included from Attributes::Exception

#exception, #exception?

Methods included from Attributes::Title

#title, #to_s

Constructor Details

This class inherits a constructor from SSLyze::XML::Plugin

Instance Method Details

#session_resumption_with_session_idsSessionResumptionWithSessionIDs? Also known as: with_session_ids

Parses the <sessionResumptionWithSessionIDs/> XML element.

Returns:

Since:

  • 1.0.0



20
21
22
23
24
# File 'lib/sslyze/xml/resum_rate.rb', line 20

def session_resumption_with_session_ids
  @session_resumption_with_session_ids ||= if (element = @node.at_xpath('sessionResumptionWithSessionIDs'))
                                             SessionResumptionWithSessionIDs.new(element)
                                           end
end