Returns this agent's identifier (hex-encoded Ed25519 public key).
Hex-encoded AgentId.
Signs data with the agent's Ed25519 private key.
Bytes to sign.
Raw 64-byte Ed25519 signature.
Staticload_Loads the agent's key pair from the store, generating and persisting a new one when the store holds no key. If the store doesn't contain a key yet, a new random Ed25519 private key is generated and stored. If the store contains an invalid key, an error is thrown.
Storage for the agent's private key.
The loaded or newly created key pair.
Concrete Ed25519 key pair for an agent.
Construct via AgentKeyPair.load_or_create: it reads the private key from the given IAgentKeyStore, or generates and persists a new one when the store is empty.