SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslSCMgr.h File Reference
#include <SharkSslEx.h>
#include "SplayTree.h"
#include "DoubleList.h"

Go to the source code of this file.

Data Structures

struct  SharkSslSCMgrNode
 The handle returned by SharkSslSCMgr_get. More...
 
struct  SharkSslSCMgr
 See SharkSslSCMgr_constructor for details. More...
 

Macros

#define SHARKSSL_BA   1
 

Functions

SHARKSSL_API void SharkSslSCMgr_constructor (SharkSslSCMgr *o, SharkSsl *ssl, U32 maxTime)
 SharkSslSCMgr simplifies using the session API for TLS clients; the constructor initializes a SharkSslSCMgr instance. More...
 
SHARKSSL_API SharkSslSCMgrNode * SharkSslSCMgr_get (SharkSslSCMgr *o, SharkSslCon *scon, const char *host, U16 port)
 Resume a session before starting the handshake. More...
 
SHARKSSL_API int SharkSslSCMgr_replace (SharkSslSCMgr *o, SharkSslSCMgrNode *n, SharkSslCon *scon)
 Replace the saved session after a resumed TLS 1.3 connection receives a fresh session ticket. More...
 
SHARKSSL_API int SharkSslSCMgr_save (SharkSslSCMgr *o, SharkSslCon *scon, const char *host, U16 port)
 Save the session when SharkSslSCMgr_get returns NULL. More...
 

Macro Definition Documentation

◆ SHARKSSL_BA

#define SHARKSSL_BA   1