2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_SSL_Data_File::ACE_SSL_Data_File ()
11 ACE_SSL_Data_File::ACE_SSL_Data_File (const char *file_name,
13 : file_name_ (file_name),
18 ACE_INLINE const char *
19 ACE_SSL_Data_File::file_name () const
21 return this->file_name_.c_str ();
25 ACE_SSL_Data_File::type () const
30 // ****************************************************************
33 ACE_SSL_Context::check_context ()
35 if (this->context_ == 0)
40 if (this->context_ != 0)
42 ::SSL_CTX_set_verify (this->context_, this->default_verify_mode (),
43 this->default_verify_callback ());
48 ACE_SSL_Context::context ()
50 this->check_context ();
51 return this->context_;
55 ACE_SSL_Context::private_key_type () const
57 return this->private_key_.type ();
60 ACE_INLINE const char*
61 ACE_SSL_Context::private_key_file_name () const
63 return this->private_key_.file_name ();
67 ACE_SSL_Context::certificate_type () const
69 return this->certificate_.type ();
72 ACE_INLINE const char*
73 ACE_SSL_Context::certificate_file_name () const
75 return this->certificate_.file_name ();
79 ACE_SSL_Context::dh_params_file_type () const
81 return this->dh_params_.type ();
84 ACE_INLINE const char*
85 ACE_SSL_Context::dh_params_file_name () const
87 return this->dh_params_.file_name ();
91 ACE_SSL_Context::default_verify_mode (int mode)
93 this->default_verify_mode_ = mode;
97 ACE_SSL_Context::default_verify_mode () const
99 return this->default_verify_mode_;
103 ACE_SSL_Context::default_verify_callback (extern_C_CallBackVerify_t callback)
105 this->default_verify_callback_ = callback;
108 ACE_INLINE extern_C_CallBackVerify_t ACE_SSL_Context::default_verify_callback() const
110 return this->default_verify_callback_;
114 ACE_SSL_Context::get_mode () const
120 ACE_SSL_Context::have_trusted_ca () const
122 return this->have_ca_;
125 ACE_END_VERSIONED_NAMESPACE_DECL