Class: Puma::MiniSSL::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/puma/minissl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeContext

Returns a new instance of Context.



130
131
132
# File 'lib/puma/minissl.rb', line 130

def initialize
  @enable_SSLv3 = false
end

Instance Attribute Details

#certObject

Returns the value of attribute cert.



141
142
143
# File 'lib/puma/minissl.rb', line 141

def cert
  @cert
end

#enable_SSLv3Object

Returns the value of attribute enable_SSLv3.



128
129
130
# File 'lib/puma/minissl.rb', line 128

def enable_SSLv3
  @enable_SSLv3
end

#keyObject

non-jruby Context properties



140
141
142
# File 'lib/puma/minissl.rb', line 140

def key
  @key
end

#keystoreObject

jruby-specific Context properties: java uses a keystore and password pair rather than a cert/key pair



126
127
128
# File 'lib/puma/minissl.rb', line 126

def keystore
  @keystore
end

#keystore_passObject

Returns the value of attribute keystore_pass.



127
128
129
# File 'lib/puma/minissl.rb', line 127

def keystore_pass
  @keystore_pass
end

#verify_modeObject

Returns the value of attribute verify_mode.



122
123
124
# File 'lib/puma/minissl.rb', line 122

def verify_mode
  @verify_mode
end