Botan 3.6.1
Crypto and TLS for C&
tls_session_manager_sqlite.cpp
Go to the documentation of this file.
1/*
2* SQLite TLS Session Manager
3* (C) 2012 Jack Lloyd
4*
5* Botan is released under the Simplified BSD License (see license.txt)
6*/
7
8#include <botan/tls_session_manager_sqlite.h>
9
10#include <botan/sqlite3.h>
11
12namespace Botan::TLS {
13
15 const std::shared_ptr<RandomNumberGenerator>& rng,
16 std::string_view db_filename,
17 size_t max_sessions) :
18 Session_Manager_SQL(std::make_shared<Sqlite3_Database>(db_filename), passphrase, rng, max_sessions) {}
19
20} // namespace Botan::TLS
Session_Manager_SQLite(std::string_view passphrase, const std::shared_ptr< RandomNumberGenerator > &rng, std::string_view db_filename, size_t max_sessions=1000)