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
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
certificateType | string | Pflicht | enum: 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
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
certificateHashData | array<object> | minItems 1 | |
certificateHashData[].hashAlgorithm | string | Pflicht | enum: SHA256, SHA384, SHA512 |
certificateHashData[].issuerNameHash | string | Pflicht | maxLength 128 |
certificateHashData[].issuerKeyHash | string | Pflicht | maxLength 128 |
certificateHashData[].serialNumber | string | Pflicht | maxLength 40 |
status | string | Pflicht | enum: 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.