Docs › OCPP 1.6 › GetInstalledCertificateIds

GetInstalledCertificateIds OCPP 1.6

Der Simulator antwortet mit NotSupported, prüft die Nachricht aber gegen das Schema.

Auch in: OCPP 2.0.1, OCPP 2.1

Request

FeldTypEinschränkungen / Beschreibung
certificateTypestringPflichtenum: CentralSystemRootCertificate, ManufacturerRootCertificate
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.req",
  "definitions": {
    "CertificateUseEnumType": {
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "CentralSystemRootCertificate",
        "ManufacturerRootCertificate"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "certificateType": {
      "$ref": "#/definitions/CertificateUseEnumType"
    }
  },
  "required": [
    "certificateType"
  ]
}

Response

FeldTypEinschränkungen / Beschreibung
certificateHashDataarray<object>minItems 1
certificateHashData[].hashAlgorithmstringPflichtenum: SHA256, SHA384, SHA512
certificateHashData[].issuerNameHashstringPflichtmaxLength 128
certificateHashData[].issuerKeyHashstringPflichtmaxLength 128
certificateHashData[].serialNumberstringPflichtmaxLength 40
statusstringPflichtenum: Accepted, NotFound
JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:1.6:2020:3:GetInstalledCertificateIds.conf",
  "definitions": {
    "GetInstalledCertificateStatusEnumType": {
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "Accepted",
        "NotFound"
      ]
    },
    "HashAlgorithmEnumType": {
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "SHA256",
        "SHA384",
        "SHA512"
      ]
    },
    "CertificateHashDataType": {
      "javaType": "CertificateHashData",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "hashAlgorithm": {
          "$ref": "#/definitions/HashAlgorithmEnumType"
        },
        "issuerNameHash": {
          "type": "string",
          "maxLength": 128
        },
        "issuerKeyHash": {
          "type": "string",
          "maxLength": 128
        },
        "serialNumber": {
          "type": "string",
          "maxLength": 40
        }
      },
      "required": [
        "hashAlgorithm",
        "issuerNameHash",
        "issuerKeyHash",
        "serialNumber"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "certificateHashData": {
      "type": "array",
      "additionalItems": false,
      "items": {
        "$ref": "#/definitions/CertificateHashDataType"
      },
      "minItems": 1
    },
    "status": {
      "$ref": "#/definitions/GetInstalledCertificateStatusEnumType"
    }
  },
  "required": [
    "status"
  ]
}

Quelle: Open Charge Alliance, OCPP 1.6 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.