SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
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
 

Friends

class RWSecureSocket
 

Related Symbols

(Note that these are not member symbols.)

typedef SSL_SESSION * RWSecureSocketSessionRep
 

Additional Inherited Members

- Protected Member Functions inherited from RWHandleBase
 RWHandleBase (const RWHandleBase &second)
 
 RWHandleBase (RWBodyBase *body)
 
 RWHandleBase (RWStaticCtor)
 
 RWHandleBase (void)
 
 ~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::RWSecureSocketSession ( )
inline

Creates an invalid session.

Member Function Documentation

◆ getRep()

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.

◆ isValid()

bool RWSecureSocketSession::isValid ( void ) const
inline

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

Friends And Related Symbol Documentation

◆ RWSecureSocketSessionRep

typedef SSL_SESSION* RWSecureSocketSessionRep
related

This is the internal secure socket session representation.

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