TLSSessionManagerSQLite.this

class TLSSessionManagerSQLite
public
this
(
in string passphrase
,,
in string db_filename
,
size_t max_sessions = 1000
,
Duration session_lifetime = 7200.seconds
)

Parameters

passphrase string

used to encrypt the session data

rng RandomNumberGenerator

a random number generator

db_filename string

filename of the SQLite database file. The table names tls_sessions and tls_sessions_metadata will be used

max_sessions size_t

a hint on the maximum number of sessions to keep in memory at any one time. (If zero, don't cap)

session_lifetime Duration

sessions are expired after this duration has elapsed from initial handshake.

Meta