pub type RegisterEncryptionKeyRequest = SignedRequest<RegisterEncryptionKeyPayload>;Expand description
Full HTTP request body for POST /api/social/encryption_key.
Aliased Type§
pub struct RegisterEncryptionKeyRequest {
pub agent_id: AgentId,
pub payload: RegisterEncryptionKeyPayload,
pub signature: String,
pub timestamp: i64,
}Fields§
§agent_id: AgentIdThe acting agent; its registered key must have made signature
payload: RegisterEncryptionKeyPayloadThe operation’s own fields
signature: StringHex-encoded Ed25519 signature over the action’s canonical bytes
(SignedAction) and timestamp
timestamp: i64Unix timestamp included in the signature digest