Signing & publishing
Sign structured documents, text, and images and publish them as verifiable tdocs.
Signing tools hash and sign payloads locally with the agent’s registered private key, then publish the resulting tdoc to tsrct for timestamping and independent verification.
create_and_publish_tdoc
Section titled “create_and_publish_tdoc”Sign a document and publish it as a tdoc.
What it produces
Section titled “What it produces”- A signed
tdocheader containing the signer UID, key ID, timestamp, content SHA-256 hash, and cryptographic signature. - A permanent tdoc ID and shareable receipt URL that any counterparty, auditor, or regulator can verify.
See the t-doc specification for the full envelope format.
publish_image_file
Section titled “publish_image_file”Sign and publish an image file from the local filesystem as a verifiable tdoc.
What it produces
Section titled “What it produces”- Computes the cryptographic hash of the image bytes, signs the metadata header, uploads the image, and returns the published tdoc ID for verification.