TAO::SSLIOP::OwnCredentials Class Reference

Credentials representing our identity, not our peer's identity. More...

#include <SSLIOP_OwnCredentials.h>

Inheritance diagram for TAO::SSLIOP::OwnCredentials:

Inheritance graph
[legend]
Collaboration diagram for TAO::SSLIOP::OwnCredentials:

Collaboration graph
[legend]
List of all members.

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

OwnCredentials_ptr _duplicate (OwnCredentials_ptr obj)
OwnCredentials_ptr _nil (void)
OwnCredentials_ptr _narrow (CORBA::Object_ptr obj)

Protected Member Functions

 ~OwnCredentials (void)
 Destructor.


Detailed Description

Credentials representing our identity, not our peer's identity.

OwnCredentials are a representation of our identity, not our peer's identity.

Definition at line 52 of file SSLIOP_OwnCredentials.h.


Member Typedef Documentation

typedef OwnCredentials_out TAO::SSLIOP::OwnCredentials::_out_type
 

Reimplemented from TAO::SSLIOP_Credentials.

Definition at line 59 of file SSLIOP_OwnCredentials.h.

typedef OwnCredentials_ptr TAO::SSLIOP::OwnCredentials::_ptr_type
 

Reimplemented from TAO::SSLIOP_Credentials.

Definition at line 57 of file SSLIOP_OwnCredentials.h.

typedef OwnCredentials_var TAO::SSLIOP::OwnCredentials::_var_type
 

Reimplemented from TAO::SSLIOP_Credentials.

Definition at line 58 of file SSLIOP_OwnCredentials.h.


Constructor & Destructor Documentation

TAO::SSLIOP::OwnCredentials::OwnCredentials ::X509 cert,
::EVP_PKEY evp
 

Constructor.

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.

00019 {
00020 }


Member Function Documentation

TAO::SSLIOP::OwnCredentials_ptr TAO::SSLIOP::OwnCredentials::_duplicate OwnCredentials_ptr  obj  )  [static]
 

Definition at line 23 of file SSLIOP_OwnCredentials.cpp.

References TAO_Local_RefCounted_Object::_add_ref(), CORBA::is_nil(), and TAO::SSLIOP::OwnCredentials_ptr.

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]
 

Reimplemented from TAO::SSLIOP_Credentials.

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]
 

Reimplemented from TAO::SSLIOP_Credentials.

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]
 

Definition at line 58 of file SSLIOP_OwnCredentials.cpp.

00059 {
00060   throw CORBA::NO_IMPLEMENT ();
00061 }

SecurityLevel3::CredsInitiator_ptr TAO::SSLIOP::OwnCredentials::creds_initiator  )  [virtual]
 

Definition at line 52 of file SSLIOP_OwnCredentials.cpp.

00053 {
00054   throw CORBA::NO_IMPLEMENT ();
00055 }

SecurityLevel3::CredentialsType TAO::SSLIOP::OwnCredentials::creds_type void   )  [virtual]
 

Implements TAO::SSLIOP_Credentials.

Definition at line 46 of file SSLIOP_OwnCredentials.cpp.

00047 {
00048   return SecurityLevel3::CT_OwnCredentials;
00049 }

void TAO::SSLIOP::OwnCredentials::release_credentials void   )  [virtual]
 

Definition at line 64 of file SSLIOP_OwnCredentials.cpp.

00065 {
00066   this->creds_state_ = SecurityLevel3::CS_PendingRelease;
00067 }


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 16:14:30 2008 for TAO_SSLIOP by doxygen 1.3.6