Botan
2.17.3
Crypto and TLS for C++11
src
lib
x509
certstor_sqlite3
certstor_sqlite.cpp
Go to the documentation of this file.
1
/*
2
* Certificate Store in SQL
3
* (C) 2016 Kai Michaelis, Rohde & Schwarz Cybersecurity
4
*
5
* Botan is released under the Simplified BSD License (see license.txt)
6
*/
7
8
#include <botan/certstor_sqlite.h>
9
#include <botan/sqlite3.h>
10
11
namespace
Botan
{
12
13
Certificate_Store_In_SQLite::Certificate_Store_In_SQLite
(
const
std::string& db_path,
14
const
std::string& passwd,
15
RandomNumberGenerator
& rng,
16
const
std::string& table_prefix) :
17
Certificate_Store_In_SQL
(
std
::make_shared<
Sqlite3_Database
>(db_path), passwd, rng, table_prefix)
18
{}
19
}
Botan::RandomNumberGenerator
Definition:
rng.h:25
std
Definition:
bigint.h:1143
Botan::Certificate_Store_In_SQLite::Certificate_Store_In_SQLite
Certificate_Store_In_SQLite(const std::string &db_path, const std::string &passwd, RandomNumberGenerator &rng, const std::string &table_prefix="")
Definition:
certstor_sqlite.cpp:13
Botan::Sqlite3_Database
Definition:
sqlite3.h:18
Botan
Definition:
alg_id.cpp:13
Botan::Certificate_Store_In_SQL
Definition:
certstor_sql.h:25
Generated by
1.8.14