Vanetza
Loading...
Searching...
No Matches
vanetza::security::v3::TrustStore Class Reference

Public Member Functions

std::list< Certificatelookup (HashedId8 id) const
void insert (const Certificate &trusted_certificate)

Protected Attributes

std::multimap< HashedId8, Certificatem_certificates

Detailed Description

Definition at line 14 of file trust_store.hpp.

Member Function Documentation

◆ insert()

void vanetza::security::v3::TrustStore::insert ( const Certificate & trusted_certificate)

Insert a certificate into store, i.e. consider it as trustworthy.

Parameters
trusted_certificatea trustworthy certificate copied into TrustStore

Definition at line 12 of file trust_store.cpp.

◆ lookup()

std::list< Certificate > vanetza::security::v3::TrustStore::lookup ( HashedId8 id) const

Lookup certificates based on the passed HashedId8.

Parameters
idhash identifier of the certificate
Returns
all stored certificates matching the passed identifier

Definition at line 25 of file trust_store.cpp.

Member Data Documentation

◆ m_certificates

std::multimap<HashedId8, Certificate> vanetza::security::v3::TrustStore::m_certificates
protected

Definition at line 32 of file trust_store.hpp.


The documentation for this class was generated from the following files: