34 std::string_view passwd,
36 std::string_view table_prefix =
"");
41 std::optional<X509_Certificate> find_cert(
const X509_DN& subject_dn,
42 const std::vector<uint8_t>& key_id)
const override;
48 std::vector<X509_Certificate> find_all_certs(
const X509_DN& subject_dn,
49 const std::vector<uint8_t>& key_id)
const override;
51 std::optional<X509_Certificate> find_cert_by_pubkey_sha1(
const std::vector<uint8_t>& key_hash)
const override;
53 std::optional<X509_Certificate> find_cert_by_raw_subject_dn_sha256(
54 const std::vector<uint8_t>& subject_hash)
const override;
59 std::vector<X509_DN> all_subjects()
const override;
77 std::vector<X509_Certificate> find_certs_for_key(
const Private_Key& key)
const;
98 std::vector<X509_CRL> generate_crls()
const;
103 std::optional<X509_CRL> find_crl_for(
const X509_Certificate& issuer)
const override;
107 std::shared_ptr<SQL_Database> m_database;
108 std::string m_prefix;
109 std::string m_password;