- Inheritance
- < Object
Constants
| Name | Description | |
|---|---|---|
| DEFAULT | = { :SSLCertificate => nil, :SSLPrivateKey => nil, :SSLClientCA => nil, :SSLCACertificatePath => nil, :SSLCACertificateFile => nil, :SSLVerifyMode => ::OpenSSL::SSL::VERIFY_NONE, :SSLVerifyDepth => nil, :SSLVerifyCallback => nil, # custom verification :SSLCertificateStore => nil, # Must specify if you use auto generated certificate. :SSLCertName => nil, # e.g. [["CN","fqdn.example.com"]] :SSLCertComment => "Generated by Ruby/OpenSSL" |
Methods
Class
| Visibility | Signature |
|---|---|
| public | new (config) |
Instance
| Visibility | Signature |
|---|---|
| public | [] (key) |
| public | accept (tcp) |
| public | connect (tcp) |
| public | setup_certificate () |
| public | setup_ssl_context () |