#include <SSL_Context.h>
Collaboration diagram for ACE_SSL_Data_File:

Public Member Functions | |
| ACE_SSL_Data_File (void) | |
| Default constructor. | |
| ACE_SSL_Data_File (const char *file_name, int type=SSL_FILETYPE_PEM) | |
| Contructor from a file name and the file type. | |
| const char * | file_name (void) const |
| The file name. | |
| int | type (void) const |
| The type. | |
Private Attributes | |
| ACE_CString | file_name_ |
| The file name. | |
| int | type_ |
| The type, used by the SSL library to parse the file contents. | |
Definition at line 37 of file SSL_Context.h.
| ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_SSL_Data_File::ACE_SSL_Data_File | ( | void | ) |
Default constructor.
Definition at line 8 of file SSL_Context.inl.
00009 : type_ (-1) 00010 { 00011 }
| ACE_INLINE ACE_SSL_Data_File::ACE_SSL_Data_File | ( | const char * | file_name, | |
| int | type = SSL_FILETYPE_PEM | |||
| ) |
Contructor from a file name and the file type.
Definition at line 14 of file SSL_Context.inl.
00016 : file_name_ (file_name), 00017 type_ (type) 00018 { 00019 }
| ACE_INLINE const char * ACE_SSL_Data_File::file_name | ( | void | ) | const |
The file name.
Definition at line 22 of file SSL_Context.inl.
References ACE_String_Base< CHAR >::c_str(), and file_name_.
Referenced by ACE_SSL_Context::certificate_file_name(), ACE_SSL_Context::dh_params_file_name(), and ACE_SSL_Context::private_key_file_name().
00023 { 00024 return this->file_name_.c_str (); 00025 }
| ACE_INLINE int ACE_SSL_Data_File::type | ( | void | ) | const |
The type.
Definition at line 28 of file SSL_Context.inl.
References type_.
Referenced by ACE_SSL_Context::certificate(), ACE_SSL_Context::certificate_type(), ACE_SSL_Context::dh_params_file_type(), ACE_SSL_Context::private_key(), and ACE_SSL_Context::private_key_type().
00029 { 00030 return this->type_; 00031 }
ACE_CString ACE_SSL_Data_File::file_name_ [private] |
int ACE_SSL_Data_File::type_ [private] |
The type, used by the SSL library to parse the file contents.
Definition at line 60 of file SSL_Context.h.
Referenced by type().
1.4.7