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.


Static Public Member Functions

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

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, virtual]
 

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  ACE_ENV_ARG_DECL  )  [static]
 

Reimplemented from TAO::SSLIOP_Credentials.

Definition at line 32 of file SSLIOP_OwnCredentials.cpp.

References _duplicate().

00034 {
00035   return  TAO::SSLIOP::OwnCredentials::_duplicate (
00036               dynamic_cast<TAO::SSLIOP::OwnCredentials *> (obj));
00037 }

TAO::SSLIOP::OwnCredentials_ptr TAO::SSLIOP::OwnCredentials::_nil void   )  [static]
 

Reimplemented from TAO::SSLIOP_Credentials.

Definition at line 40 of file SSLIOP_OwnCredentials.cpp.

00041 {
00042   return (OwnCredentials *) 0;
00043 
00044 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:56:04 2006 for TAO_SSLIOP by doxygen 1.3.6