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.


211
212
213
214
# File 'lib/puma/minissl.rb', line 211

def initialize
  @no_tlsv1   = false
  @no_tlsv1_1 = false
end

Instance Attribute Details

#caObject

Returns the value of attribute ca


235
236
237
# File 'lib/puma/minissl.rb', line 235

def ca
  @ca
end

#certObject

Returns the value of attribute cert


234
235
236
# File 'lib/puma/minissl.rb', line 234

def cert
  @cert
end

#keyObject

non-jruby Context properties


233
234
235
# File 'lib/puma/minissl.rb', line 233

def key
  @key
end

#keystoreObject

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


218
219
220
# File 'lib/puma/minissl.rb', line 218

def keystore
  @keystore
end

#keystore_passObject

Returns the value of attribute keystore_pass


219
220
221
# File 'lib/puma/minissl.rb', line 219

def keystore_pass
  @keystore_pass
end

#no_tlsv1Object

Returns the value of attribute no_tlsv1


209
210
211
# File 'lib/puma/minissl.rb', line 209

def no_tlsv1
  @no_tlsv1
end

#no_tlsv1_1Object

Returns the value of attribute no_tlsv1_1


209
210
211
# File 'lib/puma/minissl.rb', line 209

def no_tlsv1_1
  @no_tlsv1_1
end

#ssl_cipher_filterObject

Returns the value of attribute ssl_cipher_filter


236
237
238
# File 'lib/puma/minissl.rb', line 236

def ssl_cipher_filter
  @ssl_cipher_filter
end

#ssl_cipher_listObject

Returns the value of attribute ssl_cipher_list


220
221
222
# File 'lib/puma/minissl.rb', line 220

def ssl_cipher_list
  @ssl_cipher_list
end

#verify_modeObject

Returns the value of attribute verify_mode


208
209
210
# File 'lib/puma/minissl.rb', line 208

def verify_mode
  @verify_mode
end

Instance Method Details

#checkObject


227
228
229
# File 'lib/puma/minissl.rb', line 227

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