--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: OpenSSL::X509::X509::Store used for verification. You can reset the store with clear_cert_store and set the new store with cert_store=.
  name: cert_store
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A String of OpenSSL's cipher configuration. Default value is ALL:!ADH:!LOW:!EXP:!MD5:+SSLv2:@STRENGTH See ciphers(1) man in OpenSSL for more detail.
  name: ciphers
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "OpenSSL::X509::Certificate:"
      body: certificate for SSL client authenticateion.
    type: :NOTE
  - !ruby/struct:SM::Flow::P 
    body: nil by default. (no client authenticateion)
  name: client_cert
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "OpenSSL::PKey::PKey:"
      body: private key for SSL client authentication.
    type: :NOTE
  - !ruby/struct:SM::Flow::P 
    body: nil by default. (no client authenticateion)
  name: client_key
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A number of OpenSSL's SSL options. Default value is OpenSSL::SSL::OP_ALL | OpenSSL::SSL::OP_NO_SSLv2
  name: options
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: SSL timeout in sec. nil by default.
  name: timeout
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A callback handler for custom certificate verification. nil by default. If the handler is set, handler.call is invoked just after general OpenSSL's verification. handler.call is invoked with 2 arguments, ok and ctx; ok is a result of general OpenSSL's verification. ctx is a OpenSSL::X509::StoreContext.
  name: verify_callback
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A number of verify depth. Certification path which length is longer than this depth is not allowed.
  name: verify_depth
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: A number which represents OpenSSL's verify mode. Default value is OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT.
  name: verify_mode
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Represents SSL configuration for HTTPClient instance. The implementation depends on OpenSSL.
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Trust Anchor Control
- !ruby/struct:SM::Flow::P 
  body: SSLConfig loads 'httpclient/cacert.p7s' as a trust anchor (trusted certificate(s)) with set_trust_ca in initialization time. This means that HTTPClient instance trusts some CA certificates by default, like Web browsers. 'httpclient/cacert.p7s' is created by the author and included in released package.
- !ruby/struct:SM::Flow::P 
  body: "'cacert.p7s' is automatically generated from JDK 1.6."
- !ruby/struct:SM::Flow::P 
  body: You may want to change trust anchor by yourself. Call clear_cert_store then set_trust_ca for that purpose.
constants: []

full_name: HTTPClient::SSLConfig
includes: 
- !ruby/object:RI::IncludedModule 
  name: OpenSSL
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: cert_store=
- !ruby/object:RI::MethodSummary 
  name: ciphers=
- !ruby/object:RI::MethodSummary 
  name: clear_cert_store
- !ruby/object:RI::MethodSummary 
  name: client_cert=
- !ruby/object:RI::MethodSummary 
  name: client_key=
- !ruby/object:RI::MethodSummary 
  name: default_verify_callback
- !ruby/object:RI::MethodSummary 
  name: options=
- !ruby/object:RI::MethodSummary 
  name: sample_verify_callback
- !ruby/object:RI::MethodSummary 
  name: set_client_cert_file
- !ruby/object:RI::MethodSummary 
  name: set_crl
- !ruby/object:RI::MethodSummary 
  name: set_trust_ca
- !ruby/object:RI::MethodSummary 
  name: timeout=
- !ruby/object:RI::MethodSummary 
  name: verify_callback=
- !ruby/object:RI::MethodSummary 
  name: verify_depth=
- !ruby/object:RI::MethodSummary 
  name: verify_mode=
name: SSLConfig
superclass: Object
