sgns::securecrdt::SecureCrdtRegistryEntry¶
Policy entry describing how a registered key pattern is verified and instantiated.
#include <SecureCrdtRegistry.hpp>
Public Attributes¶
| Name | |
|---|---|
| std::string | key_pattern |
| SignerSetSource | signer_set_source |
| std::function< std::shared_ptr< ISignedCRDTData >()> | make_instance |
| std::regex | compiled_pattern |
| const void * | owner_token Opaque token supplied by the caller at Register() time; must be presented verbatim to UnregisterIf() to remove this entry. |
| std::shared_ptr< sgns::peerregistry::PeerRegistry > | peer_registry Explicit association to the PeerRegistry instance that owns this key pattern's authorization (D-04) - defaults to null for entries whose signer_set_source was built without a registry. Shared ownership per the BurnConfig shared_ptr registry precedent. Register() stores it verbatim and never replaces an explicitly provided signer_set_source; entries wanting a registry-derived source build it with peerregistry::MakeRegistrySignerSetSource. Declared LAST so existing positional aggregate initializers (which supply owner_token as the final element) stay source-compatible. |
Public Attributes Documentation¶
variable key_pattern¶
variable signer_set_source¶
variable make_instance¶
variable compiled_pattern¶
variable owner_token¶
Opaque token supplied by the caller at Register() time; must be presented verbatim to UnregisterIf() to remove this entry.
variable peer_registry¶
Explicit association to the PeerRegistry instance that owns this key pattern's authorization (D-04) - defaults to null for entries whose signer_set_source was built without a registry. Shared ownership per the BurnConfig shared_ptr registry precedent. Register() stores it verbatim and never replaces an explicitly provided signer_set_source; entries wanting a registry-derived source build it with peerregistry::MakeRegistrySignerSetSource. Declared LAST so existing positional aggregate initializers (which supply owner_token as the final element) stay source-compatible.
Updated on 2026-10-06 at 13:34:20 +0000