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.



171
172
173
# File 'lib/puma/minissl.rb', line 171

def ca
  @ca
end

#certObject

Returns the value of attribute cert.



170
171
172
# File 'lib/puma/minissl.rb', line 170

def cert
  @cert
end

#keyObject

non-jruby Context properties



169
170
171
# File 'lib/puma/minissl.rb', line 169

def key
  @key
end

#keystoreObject

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_passObject

Returns the value of attribute keystore_pass.



156
157
158
# File 'lib/puma/minissl.rb', line 156

def keystore_pass
  @keystore_pass
end

#verify_modeObject

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

#checkObject



163
164
165
# File 'lib/puma/minissl.rb', line 163

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