TAO_SSLIOP
2.4.0
|
SSLIOP-specific protocol factory implementation. More...
#include <SSLIOP_Factory.h>
Public Member Functions | |
Protocol_Factory (void) | |
Constructor. More... | |
virtual | ~Protocol_Factory (void) |
Destructor. More... | |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
Dynamic linking hook. More... | |
virtual int | match_prefix (const ACE_CString &prefix) |
Verify prefix is a match. More... | |
virtual const char * | prefix (void) const |
Returns the prefix used by the protocol. More... | |
virtual char | options_delimiter (void) const |
virtual TAO_Acceptor * | make_acceptor (void) |
virtual TAO_Connector * | make_connector (void) |
virtual int | requires_explicit_endpoint (void) const |
![]() | |
TAO_Protocol_Factory (CORBA::ULong tag) | |
virtual | ~TAO_Protocol_Factory (void) |
CORBA::ULong | tag (void) const |
![]() | |
ACE_Service_Object (ACE_Reactor *=0) | |
virtual | ~ACE_Service_Object (void) |
virtual int | suspend (void) |
virtual int | resume (void) |
![]() | |
virtual | ~ACE_Event_Handler (void) |
virtual ACE_HANDLE | get_handle (void) const |
virtual void | set_handle (ACE_HANDLE) |
virtual int | priority (void) const |
virtual void | priority (int priority) |
virtual int | handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_timeout (const ACE_Time_Value ¤t_time, const void *act=0) |
virtual int | handle_exit (ACE_Process *) |
virtual int | handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) |
virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
virtual int | resume_handler (void) |
virtual int | handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual void | reactor (ACE_Reactor *reactor) |
virtual ACE_Reactor * | reactor (void) const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface (void) const |
virtual Reference_Count | add_reference (void) |
virtual Reference_Count | remove_reference (void) |
Reference_Counting_Policy & | reference_counting_policy (void) |
![]() | |
ACE_Shared_Object (void) | |
virtual | ~ACE_Shared_Object (void) |
virtual int | fini (void) |
virtual int | info (ACE_TCHAR **info_string, size_t length=0) const |
Private Member Functions | |
int | register_orb_initializer (void) |
Create and register the SSLIOP ORB initializer. More... | |
Static Private Member Functions | |
static int | parse_x509_file (char *arg, char *&path) |
static int | pem_passwd_cb (char *buf, int size, int, void *) |
Private Attributes | |
::Security::QOP | qop_ |
ACE_Time_Value | timeout_ |
The accept() timeout. More... | |
bool | check_host_ |
Static Private Attributes | |
static ACE_CString | pem_passwd_ |
The stored password. More... | |
SSLIOP-specific protocol factory implementation.
This class implements the SSLIOP-specific protocol factory implementation for use in TAO's pluggable protocols framework.
TAO::SSLIOP::Protocol_Factory::Protocol_Factory | ( | void | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Dynamic linking hook.
Implements TAO_Protocol_Factory.
|
virtual |
Implements TAO_Protocol_Factory.
|
virtual |
Implements TAO_Protocol_Factory.
|
virtual |
Verify prefix is a match.
Implements TAO_Protocol_Factory.
|
virtual |
Return the character used to mark where an endpoint ends and where its options begin.
Implements TAO_Protocol_Factory.
|
staticprivate |
Parse an X509 file path, which is expected to looks like: <X509Path> ::= <Prefix> ':' <Path> <Prefix> ::= 'PEM' | 'ASN1' <Path> ::= any-string Returns either SSL_FILETYPE_ASN1, SSL_FILETYPE_PEM or -1 if the prefix can not be recognized. The *path will point to the part of the original buffer, after the initial ':', or will contain 0, if no path was specified.
Beware: This function modifies the buffer pointed to by arg!
|
staticprivate |
Callback for supplying a password to be used accessing a private key. Key initialized by env var or supplied in arg list. This callback is only used when a password is configured.
|
virtual |
Returns the prefix used by the protocol.
Implements TAO_Protocol_Factory.
|
private |
|
virtual |
Implements TAO_Protocol_Factory.
|
private |
|
staticprivate |
The stored password.
|
private |
Default quality-of-protection settings for the SSLIOP pluggable protocol.
|
private |
The accept() timeout.
This timeout includes the overall time to complete the SSL handshake. This includes both the TCP handshake and the SSL handshake.