Class: Qpid::Proton::Reactor::SSLConfig
- Inherits:
-
Object
- Object
- Qpid::Proton::Reactor::SSLConfig
- Defined in:
- lib/reactor/ssl_config.rb
Instance Method Summary collapse
-
#initialize ⇒ SSLConfig
constructor
A new instance of SSLConfig.
- #set_credentials(cert_file, key_file, password) ⇒ Object
- #set_trusted_ca_db(certificate_db) ⇒ Object
Constructor Details
Instance Method Details
#set_credentials(cert_file, key_file, password) ⇒ Object
29 30 31 32 |
# File 'lib/reactor/ssl_config.rb', line 29 def set_credentials(cert_file, key_file, password) @client.set_credentials(cert_file, key_file, password) @server.set_credentials(cert_file, key_file, password) end |
#set_trusted_ca_db(certificate_db) ⇒ Object
34 35 36 37 |
# File 'lib/reactor/ssl_config.rb', line 34 def set_trusted_ca_db(certificate_db) @client.set_trusted_ca_db(certificate_db) @server.set_trusted_ca_db(certificate_db) end |