ETSI STF525 / Internal Testing test suite This project provides an internal testing test suite and its associated Test Adapter/Codec

security_db.hh
Go to the documentation of this file.
1 #pragma once
2
3 #include "security_cache.hh"
4
9 class security_db : public security_cache {
10
11 public:
15 security_db(const std::string& p_db_path);
19 ~security_db();
20
21 int store_certificate(const CHARSTRING& p_cert_id, const OCTETSTRING& p_cert, const OCTETSTRING& p_private_key, const OCTETSTRING& p_public_key_x, const OCTETSTRING& p_public_key_y, const OCTETSTRING& p_hashid8, const OCTETSTRING& p_issuer, const OCTETSTRING& p_private_enc_key, const OCTETSTRING& p_public_enc_key_x, const OCTETSTRING& p_public_enc_key_y);
22 int clear();
23
24 private:
25 int load_from_files(const std::string& p_db_path);
26 }; // End of class security_db
security_cache.hh
security_db::store_certificate
int store_certificate(const CHARSTRING &p_cert_id, const OCTETSTRING &p_cert, const OCTETSTRING &p_private_key, const OCTETSTRING &p_public_key_x, const OCTETSTRING &p_public_key_y, const OCTETSTRING &p_hashid8, const OCTETSTRING &p_issuer, const OCTETSTRING &p_private_enc_key, const OCTETSTRING &p_public_enc_key_x, const OCTETSTRING &p_public_enc_key_y)
Definition: security_db.cc:47
security_db::clear
int clear()
Definition: security_db.cc:25
security_db::~security_db
~security_db()
Default private dtor.
Definition: security_db.cc:21
security_db
This class provides security record description for security database.
Definition: security_db.hh:9
security_db::load_from_files
int load_from_files(const std::string &p_db_path)
Definition: security_db.cc:31
security_cache
This class provides security record description for in memory security database. In memory mens there...
Definition: security_cache.hh:17
security_db::security_db
security_db(const std::string &p_db_path)
Ctor with full path to the certificates storage.
Definition: security_db.cc:14