-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathc3-complete-document.json
More file actions
23 lines (23 loc) · 1.05 KB
/
c3-complete-document.json
File metadata and controls
23 lines (23 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"description": "Complete signed metadata document (PROTOCOL.md Appendix C.3)",
"channel_id": "TVMkVHiXF9W1NgM9KLgs7tcBMvC1YtF4Daj4yfTrJercs3",
"signed_document": {
"v": 1,
"seq": 1742000000,
"id": "TVMkVHiXF9W1NgM9KLgs7tcBMvC1YtF4Daj4yfTrJercs3",
"name": "Test Channel",
"description": "A test channel for protocol verification",
"stream": "/tltv/v1/channels/TVMkVHiXF9W1NgM9KLgs7tcBMvC1YtF4Daj4yfTrJercs3/stream.m3u8",
"guide": "/tltv/v1/channels/TVMkVHiXF9W1NgM9KLgs7tcBMvC1YtF4Daj4yfTrJercs3/guide.json",
"access": "public",
"updated": "2026-03-14T12:00:00Z",
"signature": "2TgRpS4h1UREKn3rRGk3cMRQ9fXQZ2TYX76oWCkHnDbHmUm2hTNAcXy8nSphcFVwareooGM2hqwvWgoGigaCNaob"
},
"verification_steps": [
"Remove the 'signature' field from the document",
"Canonicalize to JSON (keys sorted, no whitespace)",
"Decode channel ID from 'id' field to extract 32-byte Ed25519 public key",
"Decode signature from base58 to 64 bytes",
"Verify Ed25519 signature against canonical JSON bytes using the public key"
]
}