32 virtual std::optional<X509_Certificate> find_cert(
const X509_DN& subject_dn,
33 const std::vector<uint8_t>& key_id)
const;
40 const std::vector<uint8_t>& key_id)
const = 0;
57 const std::vector<uint8_t>& subject_hash)
const = 0;
64 virtual std::optional<X509_CRL> find_crl_for(
const X509_Certificate& subject)
const;
114 std::vector<X509_DN> all_subjects()
const override;
120 std::optional<X509_Certificate> find_cert(
const X509_DN& subject_dn,
121 const std::vector<uint8_t>& key_id)
const override;
127 std::vector<X509_Certificate> find_all_certs(
const X509_DN& subject_dn,
128 const std::vector<uint8_t>& key_id)
const override;
130 std::optional<X509_Certificate> find_cert_by_pubkey_sha1(
const std::vector<uint8_t>& key_hash)
const override;
132 std::optional<X509_Certificate> find_cert_by_raw_subject_dn_sha256(
133 const std::vector<uint8_t>& subject_hash)
const override;
138 std::optional<X509_CRL> find_crl_for(
const X509_Certificate& subject)
const override;
142 std::vector<X509_Certificate> m_certs;
143 std::vector<X509_CRL> m_crls;