1#include <vanetza/security/v3/certificate_cache.hpp>
2#include <boost/optional/optional.hpp>
13 auto found = m_storage.find(digest);
14 if (found != m_storage.end()) {
15 return &found->second;
23 auto maybe_hash = calculate_hash(*cert.content());
25 m_storage[*maybe_hash] = cert;
const Certificate * lookup(const HashedId8 &digest) const
void store(const Certificate &cert)