#include <SSLIOP_Endpoint.h>
Inheritance diagram for TAO_SSLIOP_Endpoint:
Public Member Functions | |
TAO_SSLIOP_Endpoint (const ::SSLIOP::SSL *ssl_component, TAO_IIOP_Endpoint *iiop_endp) | |
Constructor. | |
virtual | ~TAO_SSLIOP_Endpoint (void) |
Destructor. | |
int | credentials_set (void) const |
TAO_Endpoint Methods | |
virtual TAO_Endpoint * | next (void) |
virtual int | addr_to_string (char *buffer, size_t length) |
CORBA::Boolean | is_equivalent (const TAO_Endpoint *other_endpoint) |
virtual TAO_Endpoint * | duplicate (void) |
virtual CORBA::ULong | hash (void) |
SSLIOP_Endpoint-specific Methods | |
const ::SSLIOP::SSL & | ssl_component (void) const |
Return SSL component corresponding to this endpoint. | |
TAO_IIOP_Endpoint * | iiop_endpoint (void) const |
Accessor to our IIOP counterpart. | |
void | iiop_endpoint (TAO_IIOP_Endpoint *endpoint, bool destroy) |
Mutator to our IIOP counterpart. | |
const ACE_INET_Addr & | object_addr (void) const |
Return the SSLIOP-specific ACE_INET_Addr. | |
void | set_sec_attrs (::Security::QOP qop, const ::Security::EstablishTrust &trust, TAO::SSLIOP::OwnCredentials_ptr creds) |
::Security::QOP | qop (void) const |
Get the Quality-of-Protection settings for this endpoint. | |
::Security::EstablishTrust | trust (void) const |
Get the establishment of trust settings for this endpoint. | |
TAO::SSLIOP::OwnCredentials * | credentials (void) const |
Get the credentials for this endpoint. | |
Protected Attributes | |
::SSLIOP::SSL | ssl_component_ |
Private Attributes | |
ACE_INET_Addr | object_addr_ |
TAO_SSLIOP_Endpoint * | next_ |
TAO_IIOP_Endpoint * | iiop_endpoint_ |
IIOP counterpart. | |
bool | destroy_iiop_endpoint_ |
::Security::QOP | qop_ |
Quailty-of-Protection settings for this endpoint object. | |
::Security::EstablishTrust | trust_ |
Establishment of trust settings for this endpoint object. | |
TAO::SSLIOP::OwnCredentials_var | credentials_ |
SSLIOP-specific credentials for this endpoint object. | |
int | credentials_set_ |
A flag indicating that credentials_ was explicitly initialized. | |
Friends | |
class | TAO_SSLIOP_Profile |
|
Constructor.
|
|
Destructor.
|
|
Implements TAO_Endpoint. |
|
Get the credentials for this endpoint.
|
|
Credentials are not supplied by the constructor, and it is valid to have a nil credential, for instance if the SSL_use_certificate() method returns 0. Therefore it is necessary to have a new method to distinguish between a credential that is nil because it has not been set, vs one that was set to nil explicitly. |
|
Return a copy of the corresponding endpoints by allocating memory. Implements TAO_Endpoint. Reimplemented in TAO_SSLIOP_Synthetic_Endpoint. |
|
Return a hash value for this object. Note that only the IP address and port are used to generate the hash value. This may cause a few more hash table collisions in the transport cache, because a synthesized SSLIOP endpoints for an address will have the same hash value as a fully qualified one. The redeeming feature is that it makes / bi-directional SSLIOP work by allowing descendent class (Synthetic_Endpoint) instances to be used as keys in the cache manager and match other fully qualified endpoint. (which were used earlier to cache a particular transport) Implements TAO_Endpoint. |
|
Mutator to our IIOP counterpart.
|
|
Accessor to our IIOP counterpart.
|
|
Return true if this endpoint is equivalent to
Implements TAO_Endpoint. Reimplemented in TAO_SSLIOP_Synthetic_Endpoint. |
|
Implements TAO_Endpoint. |
|
Return the SSLIOP-specific ACE_INET_Addr.
|
|
Get the Quality-of-Protection settings for this endpoint.
|
|
Set the Quality-of-Protection, establishment of trust, and credentials for this endpoint. This is all done in one function so that the guard may be used uniformly. |
|
Return SSL component corresponding to this endpoint.
|
|
Get the establishment of trust settings for this endpoint.
|
|
|
|
SSLIOP-specific credentials for this endpoint object.
|
|
A flag indicating that credentials_ was explicitly initialized.
|
|
Flag that determines whether or not the iiop_endpoint_ member is deallocated with delete(). |
|
IIOP counterpart. Since SSLIOP is an 'extension' of IIOP, each SSLIOP_Endpoint contains SSL-specific information plus a pointer to the IIOP_Endpoint containing the IIOP portion of our address. |
|
IIOP Endpoints can be stringed into a list. Return the next endpoint in the list, if any. |
|
Cached instance of ACE_INET_Addr for use in making invocations, etc. |
|
Quailty-of-Protection settings for this endpoint object.
|
|
Cache the SSL tagged component in a decoded format. Notice that we do not need to marshal this object! |
|
Establishment of trust settings for this endpoint object.
|