#include <SSLIOP_OwnCredentials.h>
Public Types | |
typedef OwnCredentials_ptr | _ptr_type |
typedef OwnCredentials_var | _var_type |
typedef OwnCredentials_out | _out_type |
Public Member Functions | |
OwnCredentials (::X509 *cert,::EVP_PKEY *evp) | |
Constructor. | |
SecurityLevel3::TargetCredentials Methods | |
Methods required by the SecurityLevel3::Credentials interface. | |
SecurityLevel3::CredentialsType | creds_type (void) |
SecurityLevel3::OwnCredentials Methods | |
Methods required by the SecurityLevel3::OwnCredentials interface. | |
virtual SecurityLevel3::CredsInitiator_ptr | creds_initiator () |
virtual SecurityLevel3::CredsAcceptor_ptr | creds_acceptor () |
virtual void | release_credentials (void) |
Static Public Member Functions | |
static OwnCredentials_ptr | _duplicate (OwnCredentials_ptr obj) |
static OwnCredentials_ptr | _nil (void) |
static OwnCredentials_ptr | _narrow (CORBA::Object_ptr obj) |
Protected Member Functions | |
~OwnCredentials (void) | |
Destructor. |
OwnCredentials
are a representation of our identity, not our peer's identity.
Definition at line 52 of file SSLIOP_OwnCredentials.h.
Definition at line 59 of file SSLIOP_OwnCredentials.h.
Definition at line 57 of file SSLIOP_OwnCredentials.h.
Definition at line 58 of file SSLIOP_OwnCredentials.h.
TAO::SSLIOP::OwnCredentials::~OwnCredentials | ( | void | ) | [protected] |
Destructor.
Protected destructor to enforce proper memory management through the reference counting mechanism.
Definition at line 18 of file SSLIOP_OwnCredentials.cpp.
TAO::SSLIOP::OwnCredentials_ptr TAO::SSLIOP::OwnCredentials::_duplicate | ( | OwnCredentials_ptr | obj | ) | [static] |
Definition at line 23 of file SSLIOP_OwnCredentials.cpp.
References CORBA::is_nil().
Referenced by _narrow(), and TAO_SSLIOP_Endpoint::set_sec_attrs().
00024 { 00025 if (!CORBA::is_nil (obj)) 00026 obj->_add_ref (); 00027 00028 return obj; 00029 }
TAO::SSLIOP::OwnCredentials_ptr TAO::SSLIOP::OwnCredentials::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Definition at line 32 of file SSLIOP_OwnCredentials.cpp.
References _duplicate().
Referenced by TAO::SSLIOP::Connector::retrieve_credentials().
00033 { 00034 return TAO::SSLIOP::OwnCredentials::_duplicate ( 00035 dynamic_cast<TAO::SSLIOP::OwnCredentials *> (obj)); 00036 }
TAO::SSLIOP::OwnCredentials_ptr TAO::SSLIOP::OwnCredentials::_nil | ( | void | ) | [static] |
Definition at line 39 of file SSLIOP_OwnCredentials.cpp.
Referenced by TAO::SSLIOP::Connector::retrieve_credentials().
00040 { 00041 return (OwnCredentials *) 0; 00042 00043 }
SecurityLevel3::CredsAcceptor_ptr TAO::SSLIOP::OwnCredentials::creds_acceptor | ( | ) | [virtual] |
SecurityLevel3::CredsInitiator_ptr TAO::SSLIOP::OwnCredentials::creds_initiator | ( | ) | [virtual] |
SecurityLevel3::CredentialsType TAO::SSLIOP::OwnCredentials::creds_type | ( | void | ) |
void TAO::SSLIOP::OwnCredentials::release_credentials | ( | void | ) | [virtual] |