42 std::vector<X509_DN> all_subjects()
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;
56 std::optional<X509_Certificate> find_cert_by_pubkey_sha1(
const std::vector<uint8_t>& key_hash)
const override;
58 std::optional<X509_Certificate> find_cert_by_raw_subject_dn_sha256(
59 const std::vector<uint8_t>& subject_hash)
const override;
65 std::optional<X509_CRL> find_crl_for(
const X509_Certificate& subject)
const override;
68 std::vector<X509_DN> m_all_subjects;
69 std::map<X509_DN, std::vector<X509_Certificate>> m_dn_to_cert;
70 std::map<std::vector<uint8_t>, std::optional<X509_Certificate>> m_pubkey_sha1_to_cert;
71 std::map<std::vector<uint8_t>, std::optional<X509_Certificate>> m_subject_dn_sha256_to_cert;