|
CCF
|
Public Types | |
| using | DER = std::vector< uint8_t > |
| using | PublicKey = std::variant< ccf::crypto::RSAPublicKeyPtr, ccf::crypto::ECPublicKeyPtr > |
Public Member Functions | |
| PublicKeysCache (size_t max_keys=DEFAULT_MAX_KEYS) | |
| bool | verify (const uint8_t *contents, size_t contents_size, const uint8_t *signature, size_t signature_size, const DER &der) |
Public Attributes | |
| ccf::pal::Mutex | keys_lock |
| LRU< DER, PublicKey > | keys |
Static Public Attributes | |
| static constexpr size_t | DEFAULT_MAX_KEYS = 10 |
| using ccf::PublicKeysCache::DER = std::vector<uint8_t> |
| using ccf::PublicKeysCache::PublicKey = std::variant<ccf::crypto::RSAPublicKeyPtr, ccf::crypto::ECPublicKeyPtr> |
|
inline |
|
inline |
|
staticconstexpr |
| ccf::pal::Mutex ccf::PublicKeysCache::keys_lock |