SourcePro® API Reference Guide

Product Documentation:
   SourcePro
Documentation Home
List of all members | Public Member Functions | Related Functions
RWSecureSocketSession Class Reference

Represents a secure socket session and is used the client side of the SSL/TLS protocol for session reuse. More...

#include <rw/secsock/RWSecureSocketSession.h>

Inheritance diagram for RWSecureSocketSession:
RWHandleBase

Public Member Functions

 RWSecureSocketSession ()
 
RWSecureSocketSessionRep getRep () const
 
bool isValid () const
 
- Public Member Functions inherited from RWHandleBase
bool isValid (void) const
 
bool operator!= (const RWHandleBase &second) const
 
bool operator< (const RWHandleBase &second) const
 
bool operator== (const RWHandleBase &second) const
 

Related Functions

(Note that these are not member functions.)

typedef SSL_SESSION * RWSecureSocketSessionRep
 

Additional Inherited Members

- Protected Member Functions inherited from RWHandleBase
 RWHandleBase (void)
 
 RWHandleBase (RWStaticCtor)
 
 RWHandleBase (RWBodyBase *body)
 
 RWHandleBase (const RWHandleBase &second)
 
 ~RWHandleBase (void)
 
RWBodyBasebody (void) const
 
RWHandleBaseoperator= (const RWHandleBase &second)
 

Detailed Description

RWSecureSocketSession represents a secure socket session. It is used on the client side of the SSL/TLS protocol to reuse sessions and avoids the overhead of the SSL/TLS handshake. Session reuse is described in the Secure Communication Module User's Guide.

RWSecureSocketSession is an adapter for the cryptographic library's representation of a secure socket session.

Constructor & Destructor Documentation

RWSecureSocketSession::RWSecureSocketSession ( )
inline

Creates an invalid session.

Member Function Documentation

RWSecureSocketSessionRep RWSecureSocketSession::getRep ( ) const
inline

Returns a pointer to the cryptographic library's representation of the secure socket session. Returns 0 if the session is invalid.

Note
The memory that this pointer references is owned by the RWSecureSocketSession instance. Users should not attempt to delete the memory.
bool RWSecureSocketSession::isValid ( void  ) const
inline

Returns true if this session refers to a valid session, false otherwise.

Friends And Related Function Documentation

typedef SSL_SESSION* RWSecureSocketSessionRep
related

This is the internal secure socket session representation.

Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.