Botan
3.7.1
Crypto and TLS for C&
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
c
d
f
i
m
n
r
s
t
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
h
i
m
n
o
p
r
s
t
u
v
w
Enumerations
b
c
d
e
k
m
n
o
p
s
t
x
Enumerator
_
a
b
c
d
e
f
h
k
l
m
n
p
q
r
s
t
u
w
x
Related Symbols
b
c
d
e
f
k
o
p
s
t
x
Files
File List
File Members
All
_
a
b
c
d
e
f
i
k
m
n
o
p
q
s
t
u
w
x
y
z
Functions
b
c
Variables
Typedefs
b
c
e
p
t
Enumerations
Enumerator
b
c
d
e
k
n
Macros
_
a
b
c
f
m
n
q
s
t
w
src
lib
tls
sessions_sqlite3
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
12
namespace
Botan::TLS
{
13
14
Session_Manager_SQLite::Session_Manager_SQLite
(std::string_view passphrase,
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) {}
14
Session_Manager_SQLite::Session_Manager_SQLite
(std::string_view passphrase, {
…
}
19
20
}
// namespace Botan::TLS
Botan::Sqlite3_Database
Definition
sqlite3.h:20
Botan::TLS::Session_Manager_SQL
Definition
tls_session_manager_sql.h:28
Botan::TLS::Session_Manager_SQLite::Session_Manager_SQLite
Session_Manager_SQLite(std::string_view passphrase, const std::shared_ptr< RandomNumberGenerator > &rng, std::string_view db_filename, size_t max_sessions=1000)
Definition
tls_session_manager_sqlite.cpp:14
Botan::TLS
Definition
asio_context.cpp:17
Generated by
1.12.0