Class: SSLyze::XML::Reneg

Inherits:
Plugin
  • Object
show all
Defined in:
lib/sslyze/xml/reneg.rb,
lib/sslyze/xml/reneg/session_renegotiation.rb

Overview

Represents the <reneg> element.

Since:

  • 1.0.0

Defined Under Namespace

Classes: SessionRenegotiation

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_renegotiationSessionRenegotiation? Also known as: session

Session Renegotiation information.

Returns:

Since:

  • 1.0.0



18
19
20
21
22
# File 'lib/sslyze/xml/reneg.rb', line 18

def session_renegotiation
  @session_renegotiation ||= if (element = @node.at_xpath('sessionRenegotiation'))
                               SessionRenegotiation.new(element)
                             end
end