Class: Puma::MiniSSL::Context

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#caObject

Returns the value of attribute ca.



200
201
202
# File 'lib/puma/minissl.rb', line 200

def ca
  @ca
end

#certObject

Returns the value of attribute cert.



199
200
201
# File 'lib/puma/minissl.rb', line 199

def cert
  @cert
end

#keyObject

non-jruby Context properties



198
199
200
# File 'lib/puma/minissl.rb', line 198

def key
  @key
end

#keystoreObject

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



183
184
185
# File 'lib/puma/minissl.rb', line 183

def keystore
  @keystore
end

#keystore_passObject

Returns the value of attribute keystore_pass.



184
185
186
# File 'lib/puma/minissl.rb', line 184

def keystore_pass
  @keystore_pass
end

#ssl_cipher_filterObject

Returns the value of attribute ssl_cipher_filter.



201
202
203
# File 'lib/puma/minissl.rb', line 201

def ssl_cipher_filter
  @ssl_cipher_filter
end

#ssl_cipher_listObject

Returns the value of attribute ssl_cipher_list.



185
186
187
# File 'lib/puma/minissl.rb', line 185

def ssl_cipher_list
  @ssl_cipher_list
end

#verification_flagsObject

Returns the value of attribute verification_flags.



202
203
204
# File 'lib/puma/minissl.rb', line 202

def verification_flags
  @verification_flags
end

#verify_modeObject

Returns the value of attribute verify_mode.



179
180
181
# File 'lib/puma/minissl.rb', line 179

def verify_mode
  @verify_mode
end

Instance Method Details

#checkObject



192
193
194
# File 'lib/puma/minissl.rb', line 192

def check
  raise "Keystore not configured" unless @keystore
end