Class: SSLyze::XML::Resum
- 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.
Defined Under Namespace
Classes: SessionResumptionWithSessionIDs, SessionResumptionWithTLSTickets
Instance Method Summary collapse
-
#session_resumption_with_session_ids ⇒ SessionResumptionWithSessionIDs?
(also: #with_session_ids)
Parses the
<sessionResumptionWithSessionIDs>
XML element. -
#session_resumption_with_tls_tickets ⇒ SessionResumptionWithTLSTickets?
(also: #with_tls_tickets)
Parses the
<sessionResumptionWithTLSTickets>
XML element.
Methods inherited from Plugin
Methods included from Attributes::Exception
Methods included from Attributes::Title
Constructor Details
This class inherits a constructor from SSLyze::XML::Plugin
Instance Method Details
#session_resumption_with_session_ids ⇒ SessionResumptionWithSessionIDs? Also known as: with_session_ids
Parses the <sessionResumptionWithSessionIDs>
XML element.
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_tickets ⇒ SessionResumptionWithTLSTickets? Also known as: with_tls_tickets
Parses the <sessionResumptionWithTLSTickets>
XML element.
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 |