|
Botan 3.13.0
Crypto and TLS for C&
|
#include <stateful_key_index_registry.h>
Public Member Functions | |
| KeyId ()=default | |
| KeyId (std::string_view algo_name, std::span< const uint8_t > algo_params, uint64_t max_operations, std::span< const uint8_t > key_material_1, std::span< const uint8_t > key_material_2) | |
| uint64_t | max_operations () const |
| auto | operator<=> (const KeyId &other) const |
| bool | operator== (const KeyId &other) const |
Friends | |
| class | Stateful_Key_Index_Registry |
Definition at line 38 of file stateful_key_index_registry.h.
| Botan::Stateful_Key_Index_Registry::KeyId::KeyId | ( | std::string_view | algo_name, |
| std::span< const uint8_t > | algo_params, | ||
| uint64_t | max_operations, | ||
| std::span< const uint8_t > | key_material_1, | ||
| std::span< const uint8_t > | key_material_2 ) |
Create a KeyId for some kind of key material
| algo_name | Algorithm name (ex "XMSS", "HSS-LMS") |
| algo_params | Encoding of the algorithm parameters |
| max_operations | Maximum number of operations the key supports. This must be derived from algo_params; equal identities must have equal maximums. |
| key_material_1 | First part of key identifying material |
| key_material_2 | Second part of key identifying material (can be omitted) |
Definition at line 27 of file stateful_key_index_registry.cpp.
References BOTAN_ASSERT_NOMSG, Botan::HashFunction::create_or_throw(), and max_operations().
Referenced by operator<=>(), and operator==().
|
default |
|
inline |
Definition at line 60 of file stateful_key_index_registry.h.
Referenced by KeyId(), Botan::Stateful_Key_Index_Registry::remaining_operations(), Botan::Stateful_Key_Index_Registry::reserve_next_index(), and Botan::Stateful_Key_Index_Registry::set_index_lower_bound().
|
inline |
Definition at line 65 of file stateful_key_index_registry.h.
References KeyId().
|
inline |
Definition at line 67 of file stateful_key_index_registry.h.
References KeyId().
|
friend |
Definition at line 74 of file stateful_key_index_registry.h.
References Stateful_Key_Index_Registry.
Referenced by Stateful_Key_Index_Registry.