#include <SSLIOP_Endpoint.h>
TAO_SSLIOP_Endpoint::~TAO_SSLIOP_Endpoint |
( |
void |
| ) |
|
|
virtual |
int TAO_SSLIOP_Endpoint::addr_to_string |
( |
char * |
buffer, |
|
|
size_t |
length |
|
) |
| |
|
virtual |
Return true if this endpoint is equivalent to other_endpoint The relationship is defined as equivalency of their qop, hostname and ssl ports (if non-zero). Two endpoints may be equivalent even if their iiop counterparts are not. In fact, there are cases (as with the LPL processing) when those counterparts are not known at all.
Implements TAO_Endpoint.
Get the credentials for this endpoint.
- Note
- This method does not follow C++ mapping memory management rules. Specifically, no duplication or reference counting occurs in this method. This is so that no additional locks occur when checking the transport cache.
int TAO_SSLIOP_Endpoint::credentials_set |
( |
void |
| ) |
const |
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 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.
Accessor to our IIOP counterpart.
void TAO_SSLIOP_Endpoint::iiop_endpoint |
( |
TAO_IIOP_Endpoint * |
endpoint, |
|
|
bool |
destroy |
|
) |
| |
Mutator to our IIOP counterpart.
- Parameters
-
endpoint | The new endpoint |
destroy | If set to true , the TAO::SSLIOP::Endpoint object retains ownership of the given TAO_IIOP_Endpoint. |
Return true if this endpoint is equivalent to other_endpoint The relationship is defined as equivalency of their qop, hostname and ssl ports (if non-zero). Two endpoints may be equivalent even if their iiop counterparts are not. In fact, there are cases (as with the LPL processing) when those counterparts are not known at all.
Implements TAO_Endpoint.
Reimplemented in TAO_SSLIOP_Synthetic_Endpoint.
Return true if this endpoint is equivalent to other_endpoint The relationship is defined as equivalency of their qop, hostname and ssl ports (if non-zero). Two endpoints may be equivalent even if their iiop counterparts are not. In fact, there are cases (as with the LPL processing) when those counterparts are not known at all.
Implements TAO_Endpoint.
const ACE_INET_Addr & TAO_SSLIOP_Endpoint::object_addr |
( |
void |
| ) |
const |
Need to have an assignment operator since the SSLIOP_Profile class may have to reorder its list of endpoints based on filtering by the EndpointPolicy.
Security::QOP TAO_SSLIOP_Endpoint::qop |
( |
void |
| ) |
const |
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.
const ::SSLIOP::SSL & TAO_SSLIOP_Endpoint::ssl_component |
( |
void |
| ) |
const |
Return SSL component corresponding to this endpoint.
Get the establishment of trust settings for this endpoint.
SSLIOP-specific credentials for this endpoint object.
int TAO_SSLIOP_Endpoint::credentials_set_ |
|
private |
A flag indicating that credentials_ was explicitly initialized.
bool TAO_SSLIOP_Endpoint::destroy_iiop_endpoint_ |
|
private |
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 strung into a list. Return the next endpoint in the list, if any.
Cached instance of ACE_INET_Addr for use in making invocations, etc.
::Security::QOP TAO_SSLIOP_Endpoint::qop_ |
|
private |
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.
The documentation for this class was generated from the following files: