Class: SSLyze::XML::OpenSSLCCS

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

Overview

Represents the <openssl_ccs> XML element.

Since:

  • 1.0.0

Defined Under Namespace

Classes: OpenSSLCCSInjection

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

#is_vulnerable?Boolean Also known as: vulnerable?

Returns:

Since:

  • 1.0.0



26
27
28
# File 'lib/sslyze/xml/openssl_ccs.rb', line 26

def is_vulnerable?
  openssl_ccs_injection.is_vulnerable?
end

#openssl_ccs_injectionOpenSSLCCSInjection Also known as: injection

Returns:

Since:

  • 1.0.0



15
16
17
18
19
# File 'lib/sslyze/xml/openssl_ccs.rb', line 15

def openssl_ccs_injection
  @openssl_ccs_injection ||= OpenSSLCCSInjection.new(
    @node.at_xpath('openSslCcsInjection')
  )
end