{"id":"asn1-der-tree-render","version":"1.0.0","description":"Render one DER value as an escaped text tree of paths, tags, lengths, and previews.","supported_operations":["render a der value as text","escaped asn1 der tree","indented der tag and length outline","preview primitive der bytes safely","print a bounded der tree","show der nesting as escaped lines","ציור עץ עם בריחת תווים"],"unsupported_operations":["return raw content hex for every node","extract one node by path","check a signature"],"semantics":["Produce one line per node, in preorder, joined by \"\\n\" with no trailing newline. Indentation is two spaces per depth. A line is path, tag class, tag number, \"constructed\" or \"primitive\", then offset, header length, and content length.","A primitive line appends content=\"...\" . Bytes 0x20 through 0x7E are copied, except backslash and double quote, which are escaped. Every other byte is \\xHH. The preview stops after 16 content bytes and then appends three dots. Constructed lines have no content preview.","The preview cap does not drop nodes. Depth above 12, more than 96 nodes, more than 512 decoded bytes, or a text result above 32768 UTF-8 bytes is limit_exceeded.","ObjectDescriptor (universal 7) must be primitive and CHARACTER STRING (universal 29) must be constructed. The walker rejects the other inferable DER form and content errors. The rendered text never invents an X.509 name for a tag.","More than 512 decoded bytes fails as limit_exceeded before a hex-syntax check.","Disclaimer: format transform only; provides no confidentiality, integrity, or authenticity."],"limits":{"max_der_bytes":512,"max_depth":12,"max_nodes":96,"max_output_bytes":32768,"max_preview_bytes":16},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["der_hex"],"properties":{"der_hex":{"type":"string","minLength":4,"maxLength":1024,"pattern":"^([0-9a-f]{2})+$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["der_bytes","node_count","line_count","text"],"properties":{"der_bytes":{"type":"integer","minimum":2,"maximum":512},"node_count":{"type":"integer","minimum":1,"maximum":96},"line_count":{"type":"integer","minimum":1,"maximum":96},"text":{"type":"string","minLength":1,"maxLength":16384}}},"examples":[{"input":{"der_hex":"0500"},"output":{"der_bytes":2,"node_count":1,"line_count":1,"text":"0 universal 5 primitive offset=0 header=2 content=0 content=\"\""}},{"input":{"der_hex":"0101ff"},"output":{"der_bytes":3,"node_count":1,"line_count":1,"text":"0 universal 1 primitive offset=0 header=2 content=1 content=\"\\xff\""}},{"input":{"der_hex":"3003020100"},"output":{"der_bytes":5,"node_count":2,"line_count":2,"text":"0 universal 16 constructed offset=0 header=2 content=3\n  0.0 universal 2 primitive offset=2 header=2 content=1 content=\"\\x00\""}}],"execute_url":"/v1/tools/asn1-der-tree-render/versions/1.0.0/execute"}