Session.h File Reference
#include "base/HardFun.h"
#include "comm/forward.h"
#include "security/Context.h"
#include "security/LockingPointer.h"
#include <memory>
#include "compat/openssl.h"
Include dependency graph for Session.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Security
 Network/connection security abstraction layer.
 

Typedefs

typedef SSL Security::Connection
 
using Security::Session = SSL_SESSION
 
typedef std::shared_ptr< SSL > Security::SessionPointer
 
typedef std::unique_ptr< SSL_SESSION, HardFun< void, SSL_SESSION *, &SSL_SESSION_free > > Security::SessionStatePointer
 

Functions

bool Security::CreateClientSession (const Security::ContextPointer &, const Comm::ConnectionPointer &, const char *squidCtx)
 
bool Security::CreateServerSession (const Security::ContextPointer &, const Comm::ConnectionPointer &, Security::PeerOptions &, const char *squidCtx)
 
void Security::SessionSendGoodbye (const Security::SessionPointer &)
 send the shutdown/bye notice for an active TLS session. More...
 
bool Security::SessionIsResumed (const Security::SessionPointer &)
 whether the session is a resumed one More...
 
void Security::MaybeGetSessionResumeData (const Security::SessionPointer &, Security::SessionStatePointer &data)
 
void Security::SetSessionResumeData (const Security::SessionPointer &, const Security::SessionStatePointer &)
 
void Security::SetSessionCacheCallbacks (Security::ContextPointer &)
 Setup the given TLS context with callbacks used to manage the session cache. More...
 
Security::ContextPointer Security::GetFrom (Security::SessionPointer &s)
 Helper function to retrieve a (non-locked) ContextPointer from a SessionPointer. More...
 
Security::SessionPointer Security::NewSessionObject (const Security::ContextPointer &)
 

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors