{"success":true,"data":{"ext":"tsd","name":"TSD","description":"Timestamped Data (TSD) is an IETF-defined file format for encapsulating digitally signed time-stamping information associated with data objects. It is used in archival systems, legal evidence workflows, software validation, and other applications that need to record when content existed or was verified. The format is generally considered safe, though its trust value depends on the integrity of the timestamping authority and the certificates used to validate it.","mime":["application/timestamped-data"],"risk_level":"Safe","signatures":[{"hex":"30 80 06 0B 2A 86 48 86 F7","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":[],"usage":{"python":"def is_tsd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid TSD by magic bytes.\"\"\"\n    signature = bytes([0x30, 0x80, 0x06, 0x0B, 0x2A, 0x86, 0x48, 0x86, 0xF7])\n    with open(file_path, \"rb\") as f:\n        return f.read(9) == signature","node":"function isTSD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x30, 0x80, 0x06, 0x0B, 0x2A, 0x86, 0x48, 0x86, 0xF7]);\n  return buffer.subarray(0, 9).equals(signature);\n}","go":"func IsTSD(data []byte) bool {\n    signature := []byte{0x30, 0x80, 0x06, 0x0B, 0x2A, 0x86, 0x48, 0x86, 0xF7}\n    if len(data) < 9 {\n        return false\n    }\n    return bytes.Equal(data[:9], signature)\n}"}}}