Verification
Cryptographically verify a tdoc's signature, signer key, and content integrity.
validate_tdoc
Section titled “validate_tdoc”Check a tdoc’s signature and integrity.
What it verifies
Section titled “What it verifies”- Fetches the signed tdoc header and body.
- Resolves the signer’s registered public key from the key ID referenced in the header.
- Recomputes the content SHA-256 hash and verifies the cryptographic signature against the public key.
- Returns whether the receipt is valid, along with the verified signer identity and timestamp.
Anyone with a tdoc ID or receipt can verify it independently — see Verify a receipt.