Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 06 / dkim rfc6376 header selection body canonical signing preimage

Reconstruct the exact DKIM signing preimage and canonical body hash before an independent signer is called.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-06/dkim-rfc6376-header-selection-body-canonical-signing-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": [
        "dkimCanonicalization"
      ],
      "properties": {
        "dkimCanonicalization": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "headers",
                "signed_names",
                "signature_index",
                "header_mode",
                "body_mode",
                "body",
                "body_length"
              ],
              "properties": {
                "headers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "value"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z0-9-]+$"
                      },
                      "value": {
                        "type": "string",
                        "maxLength": 1000,
                        "minLength": 0
                      }
                    }
                  },
                  "maxItems": 32,
                  "minItems": 1
                },
                "signed_names": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1,
                    "pattern": "^[A-Za-z0-9-]+$"
                  },
                  "maxItems": 32,
                  "minItems": 0
                },
                "signature_index": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 31
                },
                "header_mode": {
                  "enum": [
                    "simple",
                    "relaxed"
                  ]
                },
                "body_mode": {
                  "enum": [
                    "simple",
                    "relaxed"
                  ]
                },
                "body": {
                  "type": "string",
                  "maxLength": 4000,
                  "minLength": 0
                },
                "body_length": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 16000
                    }
                  ]
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "selected_header_indices",
                    "canonical_header_hex",
                    "canonical_body_hex",
                    "body_hash_sha256_base64",
                    "hashed_body_octets"
                  ],
                  "properties": {
                    "selected_header_indices": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 31
                      },
                      "maxItems": 32,
                      "minItems": 0
                    },
                    "canonical_header_hex": {
                      "type": "string",
                      "maxLength": 20000,
                      "minLength": 0,
                      "pattern": "^(?:[0-9A-Fa-f]{2})*$"
                    },
                    "canonical_body_hex": {
                      "type": "string",
                      "maxLength": 20000,
                      "minLength": 0,
                      "pattern": "^(?:[0-9A-Fa-f]{2})*$"
                    },
                    "body_hash_sha256_base64": {
                      "type": "string",
                      "maxLength": 64,
                      "minLength": 1
                    },
                    "hashed_body_octets": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 16000
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →