rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWSecureSocketSession Class Reference
[Secure Sockets]

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

List of all members.

Public Member Functions

 RWSecureSocketSession ()
bool isValid () const
RWSecureSocketSessionRep getRep () const

Related Functions

(Note that these are not member functions.)



typedef SSL_SESSION * RWSecureSocketSessionRep

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.

Reimplemented from RWHandleBase.


Friends And Related Function Documentation

typedef SSL_SESSION* RWSecureSocketSessionRep [related]

This is the internal secure socket session representation.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.