Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TAO_SSLIOP_Current Class Reference

Implementation of the TAO SSLIOP::Current extension. More...

#include <SSLIOP_Current.h>

Inheritance diagram for TAO_SSLIOP_Current:

Inheritance graph
[legend]
Collaboration diagram for TAO_SSLIOP_Current:

Collaboration graph
[legend]
List of all members.

Downcast and Reference Counting Methods

These are basically the same methods generated by the IDL compiler for all IDL interfaces.

typedef TAO_SSLIOP_Current_ptr _ptr_type
typedef TAO_SSLIOP_Current_var _var_type
virtual void * _tao_QueryInterface (ptr_arith_t type)
virtual const char * _interface_repository_id (void) const
TAO_SSLIOP_Current_ptr _duplicate (TAO_SSLIOP_Current_ptr obj)
TAO_SSLIOP_Current_ptr _narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS)
TAO_SSLIOP_Current_ptr _unchecked_narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS)
TAO_SSLIOP_Current_ptr _nil (void)
int _tao_class_id = 0

Public Methods

 TAO_SSLIOP_Current (TAO_ORB_Core *orb_core)
 Constructor. More...

virtual SSLIOP::ASN_1_Certget_peer_certificate (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, SSLIOP::Current::NoContext)
 Return the peer certificate associated with the current request. More...

virtual SSLIOP::SSL_Certget_peer_certificate_chain (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, SSLIOP::Current::NoContext)
 Return the certificate chain associated with the current execution context. If no SSL session is being used for the request or upcall, then the NoContext exception is raised. On the client side, the chain does include the peer (server) certficate. However, the certificate chain on the server side does NOT contain the peer (client) certificate. More...

virtual CORBA::Boolean no_context (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
 Returns true if the current execution context is not within a SSL session. This method is mostly useful as an inexpensive means of determining whether or not SSL session state is available. More...

void tss_slot (size_t slot)
 Set the TSS slot ID assigned to this object. More...

void setup (TAO_SSLIOP_Current_Impl *&prev_impl, TAO_SSLIOP_Current_Impl *new_impl, CORBA::Boolean &setup_done)
 Setup the Current. More...

void teardown (TAO_SSLIOP_Current_Impl *prev_impl, CORBA::Boolean &setup_done)
 Teardown the Current for this request. More...


Protected Methods

 ~TAO_SSLIOP_Current (void)
 Destructor Protected to force allocation on the heap. More...

int implementation (TAO_SSLIOP_Current_Impl *impl)
 Set the TSS SSLIOP::Current implementation. More...

TAO_SSLIOP_Current_Implimplementation (void)
 Return the TSS SSLIOP::Current implementation. More...


Private Methods

 TAO_SSLIOP_Current (const TAO_SSLIOP_Current &)
void operator= (const TAO_SSLIOP_Current &)

Private Attributes

size_t tss_slot_
 TSS slot assigned to this object. More...

TAO_ORB_Coreorb_core_
 Pointer to the ORB Core corresponding to the ORB with which this object is registered. More...


Detailed Description

Implementation of the TAO SSLIOP::Current extension.

This object can be used to obtain SSL session related information about the current execution context. For example, SSL peer certificate chains for the current request can be obtained from this object.


Member Typedef Documentation

typedef TAO_SSLIOP_Current_ptr TAO_SSLIOP_Current::_ptr_type
 

Reimplemented from CORBA_LocalObject.

typedef TAO_SSLIOP_Current_var TAO_SSLIOP_Current::_var_type
 

Reimplemented from CORBA_LocalObject.


Constructor & Destructor Documentation

TAO_SSLIOP_Current::TAO_SSLIOP_Current TAO_ORB_Core   orb_core
 

Constructor.

TAO_SSLIOP_Current::~TAO_SSLIOP_Current void    [protected]
 

Destructor Protected to force allocation on the heap.

TAO_SSLIOP_Current::TAO_SSLIOP_Current const TAO_SSLIOP_Current &    [private]
 


Member Function Documentation

TAO_SSLIOP_Current_ptr TAO_SSLIOP_Current::_duplicate TAO_SSLIOP_Current_ptr    obj [static]
 

const char * TAO_SSLIOP_Current::_interface_repository_id void    const [virtual]
 

Reimplemented from CORBA_Object.

TAO_SSLIOP_Current_ptr TAO_SSLIOP_Current::_narrow CORBA::Object_ptr obj    ACE_ENV_ARG_DECL [static]
 

Reimplemented from CORBA_LocalObject.

TAO_SSLIOP_Current_ptr TAO_SSLIOP_Current::_nil void    [inline, static]
 

Reimplemented from CORBA_LocalObject.

void * TAO_SSLIOP_Current::_tao_QueryInterface ptr_arith_t    type [virtual]
 

Reimplemented from CORBA_Object.

TAO_SSLIOP_Current_ptr TAO_SSLIOP_Current::_unchecked_narrow CORBA::Object_ptr obj    ACE_ENV_ARG_DECL_NOT_USED [static]
 

Reimplemented from CORBA_LocalObject.

SSLIOP::ASN_1_Cert * TAO_SSLIOP_Current::get_peer_certificate ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    throw (CORBA::SystemException, SSLIOP::Current::NoContext) [virtual]
 

Return the peer certificate associated with the current request.

SSLIOP::SSL_Cert * TAO_SSLIOP_Current::get_peer_certificate_chain ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    throw (CORBA::SystemException, SSLIOP::Current::NoContext) [virtual]
 

Return the certificate chain associated with the current execution context. If no SSL session is being used for the request or upcall, then the NoContext exception is raised. On the client side, the chain does include the peer (server) certficate. However, the certificate chain on the server side does NOT contain the peer (client) certificate.

ACE_INLINE TAO_SSLIOP_Current_Impl * TAO_SSLIOP_Current::implementation void    [protected]
 

Return the TSS SSLIOP::Current implementation.

ACE_INLINE int TAO_SSLIOP_Current::implementation TAO_SSLIOP_Current_Impl   impl [protected]
 

Set the TSS SSLIOP::Current implementation.

CORBA::Boolean TAO_SSLIOP_Current::no_context ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    throw (CORBA::SystemException) [virtual]
 

Returns true if the current execution context is not within a SSL session. This method is mostly useful as an inexpensive means of determining whether or not SSL session state is available.

void TAO_SSLIOP_Current::operator= const TAO_SSLIOP_Current &    [private]
 

void TAO_SSLIOP_Current::setup TAO_SSLIOP_Current_Impl *&    prev_impl,
TAO_SSLIOP_Current_Impl   new_impl,
CORBA::Boolean   setup_done
 

Setup the Current.

void TAO_SSLIOP_Current::teardown TAO_SSLIOP_Current_Impl   prev_impl,
CORBA::Boolean   setup_done
 

Teardown the Current for this request.

ACE_INLINE void TAO_SSLIOP_Current::tss_slot size_t    slot
 

Set the TSS slot ID assigned to this object.


Member Data Documentation

int TAO_SSLIOP_Current::_tao_class_id = 0 [static]
 

Reimplemented from CORBA_Object.

TAO_ORB_Core* TAO_SSLIOP_Current::orb_core_ [private]
 

Pointer to the ORB Core corresponding to the ORB with which this object is registered.

size_t TAO_SSLIOP_Current::tss_slot_ [private]
 

TSS slot assigned to this object.


The documentation for this class was generated from the following files:
Generated on Thu Oct 10 22:12:49 2002 for TAO_SSLIOP by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001