Class: SSLyze::XML::Resum

Inherits:
Plugin
  • Object
show all
Defined in:
lib/sslyze/xml/resum.rb,
lib/sslyze/xml/resum/session_resumption_with_session_ids.rb,
lib/sslyze/xml/resum/session_resumption_with_tls_tickets.rb

Overview

Represents the <resum> XML element.

Since:

  • 1.0.0

Defined Under Namespace

Classes: SessionResumptionWithSessionIDs, SessionResumptionWithTLSTickets

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



19
20
21
22
23
# File 'lib/sslyze/xml/resum.rb', line 19

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

#session_resumption_with_tls_ticketsSessionResumptionWithTLSTickets? Also known as: with_tls_tickets

Parses the <sessionResumptionWithTLSTickets> XML element.

Returns:

Since:

  • 1.0.0



32
33
34
35
36
# File 'lib/sslyze/xml/resum.rb', line 32

def session_resumption_with_tls_tickets
  @session_resumption_with_tls_tickets ||= if (element = @node.at_xpath('sessionResumptionWithTLSTickets'))
                                             SessionResumptionWithTLSTickets.new(element)
                                           end
end