← Docs

Schema Reference

Evidence Envelope (Protobuf)

message EvidenceEnvelope {
  bytes  sgx_quote      = 1;  // SGX remote attestation
  bytes  tpm_quote      = 2;  // TPM PCR quote
  bytes  code_hash      = 3;  // SHA-256 of enclave binary
  bytes  syscall_proof  = 4;  // ZK summary of syscall trace
  bytes  mem_proof      = 5;  // Merkle tree of accesses
  bytes  signature      = 6;  // PQ signature over bundle
  string result         = 7;  // Computation output
  uint64 timestamp      = 8;
}

Canonical Serialization

Proof Types

Verification

Pure JavaScript. Zero dependencies. <80ms on mobile. Checks: code hash match, guard page events = 0, temporal proofs valid, signature verification.