Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 06 / xml full document inclusive exclusive canonical utf8 preimage

Reconstruct canonical XML signing bytes from a complete explicitly expanded XML1.0 document tree.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-06/xml-full-document-inclusive-exclusive-canonical-utf8-preimage

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "xmlCanonicalization"
      ],
      "properties": {
        "xmlCanonicalization": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "nodes",
                "document_children",
                "mode",
                "with_comments",
                "inclusive_prefixes"
              ],
              "properties": {
                "nodes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "name",
                      "prefix",
                      "uri",
                      "value",
                      "namespaces",
                      "attributes",
                      "children"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "element",
                          "text",
                          "comment",
                          "pi"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 0
                      },
                      "prefix": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 0
                      },
                      "uri": {
                        "type": "string",
                        "maxLength": 512,
                        "minLength": 0
                      },
                      "value": {
                        "type": "string",
                        "maxLength": 2048,
                        "minLength": 0
                      },
                      "namespaces": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "prefix",
                            "uri"
                          ],
                          "properties": {
                            "prefix": {
                              "type": "string",
                              "maxLength": 64,
                              "minLength": 0
                            },
                            "uri": {
                              "type": "string",
                              "maxLength": 512,
                              "minLength": 0
                            }
                          }
                        },
                        "maxItems": 16,
                        "minItems": 0
                      },
                      "attributes": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "prefix",
                            "local",
                            "uri",
                            "value"
                          ],
                          "properties": {
                            "prefix": {
                              "type": "string",
                              "maxLength": 64,
                              "minLength": 0
                            },
                            "local": {
                              "type": "string",
                              "maxLength": 64,
                              "minLength": 1,
                              "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                            },
                            "uri": {
                              "type": "string",
                              "maxLength": 512,
                              "minLength": 0
                            },
                            "value": {
                              "type": "string",
                              "maxLength": 2048,
                              "minLength": 0
                            }
                          }
                        },
                        "maxItems": 32,
                        "minItems": 0
                      },
                      "children": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 95
                        },
                        "maxItems": 96,
                        "minItems": 0
                      }
                    }
                  },
                  "maxItems": 96,
                  "minItems": 1
                },
                "document_children": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 95
                  },
                  "maxItems": 96,
                  "minItems": 1
                },
                "mode": {
                  "enum": [
                    "inclusive",
                    "exclusive"
                  ]
                },
                "with_comments": {
                  "type": "boolean"
                },
                "inclusive_prefixes": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1,
                    "pattern": "^(?:#default|[A-Za-z_][A-Za-z0-9_.-]*)$"
                  },
                  "maxItems": 16,
                  "minItems": 0
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "canonical_xml",
                    "utf8_octets",
                    "sha256_hex"
                  ],
                  "properties": {
                    "canonical_xml": {
                      "type": "string",
                      "maxLength": 20000,
                      "minLength": 0
                    },
                    "utf8_octets": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 20000
                    },
                    "sha256_hex": {
                      "type": "string",
                      "maxLength": 64,
                      "minLength": 64,
                      "pattern": "^(?:[0-9A-Fa-f]{2})*$"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →