Class: Puma::MiniSSL::Context
- Inherits:
-
Object
- Object
- Puma::MiniSSL::Context
- Defined in:
- lib/puma/minissl.rb
Instance Attribute Summary collapse
-
#ca ⇒ Object
Returns the value of attribute ca.
-
#cert ⇒ Object
Returns the value of attribute cert.
-
#key ⇒ Object
non-jruby Context properties.
-
#keystore ⇒ Object
jruby-specific Context properties: java uses a keystore and password pair rather than a cert/key pair.
-
#keystore_pass ⇒ Object
Returns the value of attribute keystore_pass.
-
#no_tlsv1 ⇒ Object
Returns the value of attribute no_tlsv1.
-
#no_tlsv1_1 ⇒ Object
Returns the value of attribute no_tlsv1_1.
-
#ssl_cipher_filter ⇒ Object
Returns the value of attribute ssl_cipher_filter.
-
#ssl_cipher_list ⇒ Object
Returns the value of attribute ssl_cipher_list.
-
#verify_mode ⇒ Object
Returns the value of attribute verify_mode.
Instance Method Summary collapse
- #check ⇒ Object
-
#initialize ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize ⇒ Context
Returns a new instance of Context.
181 182 183 184 |
# File 'lib/puma/minissl.rb', line 181 def initialize @no_tlsv1 = false @no_tlsv1_1 = false end |
Instance Attribute Details
#ca ⇒ Object
Returns the value of attribute ca.
205 206 207 |
# File 'lib/puma/minissl.rb', line 205 def ca @ca end |
#cert ⇒ Object
Returns the value of attribute cert.
204 205 206 |
# File 'lib/puma/minissl.rb', line 204 def cert @cert end |
#key ⇒ Object
non-jruby Context properties
203 204 205 |
# File 'lib/puma/minissl.rb', line 203 def key @key end |
#keystore ⇒ Object
jruby-specific Context properties: java uses a keystore and password pair rather than a cert/key pair
188 189 190 |
# File 'lib/puma/minissl.rb', line 188 def keystore @keystore end |
#keystore_pass ⇒ Object
Returns the value of attribute keystore_pass.
189 190 191 |
# File 'lib/puma/minissl.rb', line 189 def keystore_pass @keystore_pass end |
#no_tlsv1 ⇒ Object
Returns the value of attribute no_tlsv1.
179 180 181 |
# File 'lib/puma/minissl.rb', line 179 def no_tlsv1 @no_tlsv1 end |
#no_tlsv1_1 ⇒ Object
Returns the value of attribute no_tlsv1_1.
179 180 181 |
# File 'lib/puma/minissl.rb', line 179 def no_tlsv1_1 @no_tlsv1_1 end |
#ssl_cipher_filter ⇒ Object
Returns the value of attribute ssl_cipher_filter.
206 207 208 |
# File 'lib/puma/minissl.rb', line 206 def ssl_cipher_filter @ssl_cipher_filter end |
#ssl_cipher_list ⇒ Object
Returns the value of attribute ssl_cipher_list.
190 191 192 |
# File 'lib/puma/minissl.rb', line 190 def ssl_cipher_list @ssl_cipher_list end |
#verify_mode ⇒ Object
Returns the value of attribute verify_mode.
178 179 180 |
# File 'lib/puma/minissl.rb', line 178 def verify_mode @verify_mode end |
Instance Method Details
#check ⇒ Object
197 198 199 |
# File 'lib/puma/minissl.rb', line 197 def check raise "Keystore not configured" unless @keystore end |