class SSLyze::XML::Reneg::SessionRenegotiation

Represents the `<sessionRenegotiation>` XML element.

@since 1.0.0

Public Class Methods

new(node) click to toggle source

Initializes the {SessionRenegotiation} object.

@param [Nokogiri::XML::Element] node

The `<sessionRenegotiation>` XML element.
# File lib/sslyze/xml/reneg/session_renegotiation.rb, line 22
def initialize(node)
  @node = node
end

Public Instance Methods

can_be_client_initiated?() click to toggle source

Returns the `canBeClientInitiated` attribute.

@return [Boolean]

# File lib/sslyze/xml/reneg/session_renegotiation.rb, line 31
def can_be_client_initiated?
  Boolean[@node['canBeClientInitiated']]
end
Also aliased as: client_initiated?
client_initiated?()
is_secure?() click to toggle source

Returns the `isSecure` attribute.

@return [Boolean]

# File lib/sslyze/xml/reneg/session_renegotiation.rb, line 42
def is_secure?
  Boolean[@node['isSecure']]
end
Also aliased as: secure?
secure?()
Alias for: is_secure?