Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 10 / ocsp6960 request response binding

Bind a decoded successful BasicOCSPResponse to explicit issuer/request/time/authority inputs. Reconstruct the fully typed result and compare its complete canonical SHA256 claim.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-10/ocsp6960-request-response-binding

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": [
        "ocspResponse"
      ],
      "properties": {
        "ocspResponse": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "issuer",
                "request",
                "signer",
                "responder_id",
                "response_signature_valid",
                "produced_at",
                "response_nonce_hex",
                "responses",
                "unknown_critical_extensions",
                "require_nonce",
                "now",
                "skew",
                "max_age"
              ],
              "properties": {
                "issuer": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name_der_hex",
                    "public_key_bits_hex"
                  ],
                  "properties": {
                    "name_der_hex": {
                      "$ref": "#/properties/artifact/%24defs/s0"
                    },
                    "public_key_bits_hex": {
                      "$ref": "#/properties/artifact/%24defs/s1"
                    }
                  }
                },
                "request": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "cert_id",
                    "nonce_hex"
                  ],
                  "properties": {
                    "cert_id": {
                      "$ref": "#/properties/artifact/%24defs/s2"
                    },
                    "nonce_hex": {
                      "$ref": "#/properties/artifact/%24defs/s5"
                    }
                  }
                },
                "signer": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "subject_name_hex",
                    "public_key_bits_hex",
                    "certificate_issuer_key_bits_hex",
                    "certificate_signature_valid",
                    "eku_ocsp_signing",
                    "valid_at_now",
                    "ocsp_nocheck",
                    "revocation_checked_good",
                    "locally_trusted"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "issuer",
                        "delegated",
                        "local"
                      ]
                    },
                    "subject_name_hex": {
                      "$ref": "#/properties/artifact/%24defs/s0"
                    },
                    "public_key_bits_hex": {
                      "$ref": "#/properties/artifact/%24defs/s1"
                    },
                    "certificate_issuer_key_bits_hex": {
                      "$ref": "#/properties/artifact/%24defs/s1"
                    },
                    "certificate_signature_valid": {
                      "type": "boolean"
                    },
                    "eku_ocsp_signing": {
                      "type": "boolean"
                    },
                    "valid_at_now": {
                      "type": "boolean"
                    },
                    "ocsp_nocheck": {
                      "type": "boolean"
                    },
                    "revocation_checked_good": {
                      "type": "boolean"
                    },
                    "locally_trusted": {
                      "type": "boolean"
                    }
                  }
                },
                "responder_id": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "value_hex"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "byName",
                        "byKey"
                      ]
                    },
                    "value_hex": {
                      "$ref": "#/properties/artifact/%24defs/s0"
                    }
                  }
                },
                "response_signature_valid": {
                  "type": "boolean"
                },
                "produced_at": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "response_nonce_hex": {
                  "$ref": "#/properties/artifact/%24defs/s5"
                },
                "responses": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "cert_id",
                      "status",
                      "this_update",
                      "next_update",
                      "revocation_time",
                      "revocation_reason"
                    ],
                    "properties": {
                      "cert_id": {
                        "$ref": "#/properties/artifact/%24defs/s2"
                      },
                      "status": {
                        "enum": [
                          "good",
                          "revoked",
                          "unknown"
                        ]
                      },
                      "this_update": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000000000
                      },
                      "next_update": {
                        "$ref": "#/properties/artifact/%24defs/s6"
                      },
                      "revocation_time": {
                        "$ref": "#/properties/artifact/%24defs/s6"
                      },
                      "revocation_reason": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "enum": [
                              0,
                              1,
                              2,
                              3,
                              4,
                              5,
                              6,
                              8,
                              9,
                              10
                            ]
                          }
                        ]
                      }
                    }
                  },
                  "minItems": 0,
                  "maxItems": 24
                },
                "unknown_critical_extensions": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  },
                  "minItems": 0,
                  "maxItems": 16
                },
                "require_nonce": {
                  "type": "boolean"
                },
                "now": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "skew": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 86400
                },
                "max_age": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 31536000
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string",
                  "minLength": 64,
                  "maxLength": 64,
                  "pattern": "^[0-9a-f]{64}$"
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "s0": {
          "type": "string",
          "minLength": 0,
          "maxLength": 1024,
          "pattern": "^(?:[0-9a-f]{2})*$"
        },
        "s1": {
          "type": "string",
          "minLength": 0,
          "maxLength": 2048,
          "pattern": "^(?:[0-9a-f]{2})*$"
        },
        "s2": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "hash_algorithm",
            "issuer_name_hash_hex",
            "issuer_key_hash_hex",
            "serial"
          ],
          "properties": {
            "hash_algorithm": {
              "enum": [
                "sha1",
                "sha256"
              ]
            },
            "issuer_name_hash_hex": {
              "$ref": "#/properties/artifact/%24defs/s3"
            },
            "issuer_key_hash_hex": {
              "$ref": "#/properties/artifact/%24defs/s3"
            },
            "serial": {
              "$ref": "#/properties/artifact/%24defs/s4"
            }
          }
        },
        "s3": {
          "type": "string",
          "minLength": 0,
          "maxLength": 64,
          "pattern": "^(?:[0-9a-f]{2})*$"
        },
        "s4": {
          "type": "string",
          "minLength": 1,
          "maxLength": 20,
          "pattern": "^(?:0|[1-9][0-9]{0,19})$"
        },
        "s5": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/properties/artifact/%24defs/s3"
            }
          ]
        },
        "s6": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000000000
            }
          ]
        }
      }
    }
  }
}

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 →