pub fn verify_insert(
registry: &SignerRegistry,
fields: &InsertSignatureFields<'_>,
canonical_payload: &[u8],
) -> Result<(), SignedWriteError>Expand description
Top-level insert-time verification.
- Both columns must be present (else
MissingSignatureFields). signer_pubkeymust be exactly 32 bytes and a valid Ed25519 point encoding (elseMalformedSignerPubkey).signaturemust be exactly 64 bytes (elseMalformedSignature).signer_pubkeymust be in the registry’s current allowed set (elseUnknownSignerorRevokedSignerdepending on history).- The signature must verify against
signer_pubkeyovercanonical_payload(elseInvalidSignature).
canonical_payload is the engine’s content-hash encoding of the
row WITHOUT the reserved signer_pubkey / signature columns —
the same bytes the client signed.