Class: OpenSSL::SSL::SSLContext

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/JRUBY-6970-openssl.rb

Overview

TODO(sissel): require “openssl” takes ages from the logstash jar TODO(sissel): monkeypatch Kernel.require to apply this monkeypatch only after a ‘require “openssl” has occurred.

Instance Method Summary collapse

Instance Method Details

#ca_file=(arg) ⇒ Object



9
10
11
12
13
14
# File 'lib/logstash/JRUBY-6970-openssl.rb', line 9

def ca_file=(arg)
  if arg =~ /^jar:file:\//
    return ca_file_JRUBY_6970=(arg.gsub(/^jar:/, ""))
  end
  return ca_file_JRUBY_6970=(arg)
end

#ca_file_JRUBY_6970=Object



7
# File 'lib/logstash/JRUBY-6970-openssl.rb', line 7

alias_method :ca_file_JRUBY_6970=, :ca_file=

#ca_path=(arg) ⇒ Object



16
17
18
19
20
21
# File 'lib/logstash/JRUBY-6970-openssl.rb', line 16

def ca_path=(arg)
  if arg =~ /^jar:file:\//
    return ca_path_JRUBY_6970=(arg.gsub(/^jar:/, ""))
  end
  return ca_path_JRUBY_6970=(arg)
end

#ca_path_JRUBY_6970=Object



6
# File 'lib/logstash/JRUBY-6970-openssl.rb', line 6

alias_method :ca_path_JRUBY_6970=, :ca_path=