Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 08 / rfc4226 6238 hmac dynamic truncation counter time otp window

RFC4226/6238 OTP candidate window correspondence. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-08/rfc4226-6238-hmac-dynamic-truncation-counter-time-otp-window

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": [
        "hotpTotp"
      ],
      "properties": {
        "hotpTotp": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "mode",
                "secret_hex",
                "algorithm",
                "digits",
                "counter",
                "timestamp",
                "start_time",
                "step",
                "window_before",
                "window_after",
                "asserted_otp"
              ],
              "properties": {
                "mode": {
                  "enum": [
                    "HOTP",
                    "TOTP"
                  ]
                },
                "secret_hex": {
                  "type": "string",
                  "minLength": 32,
                  "maxLength": 256,
                  "pattern": "^(?:[0-9a-fA-F]{2})+$"
                },
                "algorithm": {
                  "enum": [
                    "SHA1",
                    "SHA256",
                    "SHA512"
                  ]
                },
                "digits": {
                  "enum": [
                    6,
                    7,
                    8
                  ]
                },
                "counter": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "timestamp": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "start_time": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "step": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 86400
                },
                "window_before": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 16
                },
                "window_after": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 16
                },
                "asserted_otp": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "string",
                      "minLength": 6,
                      "maxLength": 8,
                      "pattern": "^[0-9]+$"
                    }
                  ]
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string",
                  "minLength": 64,
                  "maxLength": 64,
                  "pattern": "^[0-9a-f]{64}$"
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →