Botan
3.6.1
Crypto and TLS for C&
src
lib
x509
certstor_sqlite3
certstor_sqlite.h
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
#ifndef BOTAN_CERT_STORE_SQLITE_H_
9
#define BOTAN_CERT_STORE_SQLITE_H_
10
11
#include <botan/certstor_sql.h>
12
13
namespace
Botan
{
14
15
/**
16
* Certificate and private key store backed by an sqlite (https://sqlite.org) database.
17
*/
18
class
BOTAN_PUBLIC_API
(2, 0)
Certificate_Store_In_SQLite
final
:
public
Certificate_Store_In_SQL
{
19
public
:
20
/**
21
* Create/open a certificate store.
22
* @param db_path path to the database file
23
* @param passwd password to encrypt private keys in the database
24
* @param rng used for encrypting keys
25
* @param table_prefix optional prefix for db table names
26
*/
27
Certificate_Store_In_SQLite
(std::string_view db_path,
28
std::string_view passwd,
29
RandomNumberGenerator
& rng,
30
std::string_view table_prefix =
""
);
31
};
32
}
// namespace Botan
33
#endif
Botan::Certificate_Store_In_SQL
Definition
certstor_sql.h:24
Botan::Certificate_Store_In_SQLite
Definition
certstor_sqlite.h:18
Botan::RandomNumberGenerator
Definition
rng.h:31
final
int(* final)(unsigned char *, CTX *)
Definition
commoncrypto_hash.cpp:29
BOTAN_PUBLIC_API
#define BOTAN_PUBLIC_API(maj, min)
Definition
compiler.h:31
Botan
Definition
alg_id.cpp:13
Generated by
1.12.0