Module: Secure Communication Module Package: Secure Sockets
RWSecureSocketSessionRWHandleBase
#include <rw/secsock/RWSecureSocketSession.h>
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.
typedef SSL_SESSION* RWSecureSocketSessionRep;
RWSecureSocketSession();
Creates an invalid session.
RWSecureSocketSessionRep getRep() const;
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 body class, RWSecureSocketSessionImp. Users should not attempt to delete memory. RWSecureSocketSessionImp deletes the memory when all handles referring to that body are destroyed.
bool isValid() const;
Returns true if this session refers to a valid session, false otherwise.
© 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.