TAO_SSLIOP
2.2.2
|
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 |
Private Member Functions | |
int | register_orb_initializer (CSIIOP::AssociationOptions csiv2_target_supports, CSIIOP::AssociationOptions csiv2_target_requires) |
Create and register the SSLIOP ORB initializer. More... | |
Static Private Member Functions | |
static int | parse_x509_file (char *arg, char **path) |
Private Attributes | |
::Security::QOP | qop_ |
ACE_Time_Value | timeout_ |
The accept() timeout. 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!
|
virtual |
Returns the prefix used by the protocol.
Implements TAO_Protocol_Factory.
|
private |
|
virtual |
Implements TAO_Protocol_Factory.
|
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.