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.
-
#verify_mode ⇒ Object
Returns the value of attribute verify_mode.
Instance Method Summary collapse
Instance Attribute Details
#ca ⇒ Object
Returns the value of attribute ca.
171 172 173 |
# File 'lib/puma/minissl.rb', line 171 def ca @ca end |
#cert ⇒ Object
Returns the value of attribute cert.
170 171 172 |
# File 'lib/puma/minissl.rb', line 170 def cert @cert end |
#key ⇒ Object
non-jruby Context properties
169 170 171 |
# File 'lib/puma/minissl.rb', line 169 def key @key end |
#keystore ⇒ Object
jruby-specific Context properties: java uses a keystore and password pair rather than a cert/key pair
155 156 157 |
# File 'lib/puma/minissl.rb', line 155 def keystore @keystore end |
#keystore_pass ⇒ Object
Returns the value of attribute keystore_pass.
156 157 158 |
# File 'lib/puma/minissl.rb', line 156 def keystore_pass @keystore_pass end |
#verify_mode ⇒ Object
Returns the value of attribute verify_mode.
151 152 153 |
# File 'lib/puma/minissl.rb', line 151 def verify_mode @verify_mode end |
Instance Method Details
#check ⇒ Object
163 164 165 |
# File 'lib/puma/minissl.rb', line 163 def check raise "Keystore not configured" unless @keystore end |