Get 15118 EV Certificate
Source: OCPP 2.0.1 Part 2 — Specification (Edition 2, 2022-12-15) — Section 1.16 (Messages); Use Cases M01 — Certificate installation EV, M02 — Certificate Update EV (Functional Block M. ISO 15118 CertificateManagement)
Overview
When an ISO 15118 vehicle selects the CertificateInstallation (M01) or CertificateUpdate (M02) service, the Charging Station forwards the EV's CertificateInstallationReq to the CSMS encapsulated in Get15118EVCertificateRequest. The CSMS returns the corresponding CertificateInstallationRes to the EV via Get15118EVCertificateResponse.
This message is essentially a transport for ISO 15118-2 messages — both exiRequest and exiResponse are the raw, Base64-encoded EXI streams as defined by ISO 15118-2.
Sequence Diagram
EV ──CertificateInstallationReq──▶ Charging Station
Charging Station ──── Get15118EVCertificateRequest ────▶ CSMS
(iso15118SchemaVersion, action, exiRequest)
Charging Station ◀─── Get15118EVCertificateResponse ──── CSMS
(status, exiResponse)
EV ◀──CertificateInstallationRes── Charging Station
Initiator
Charging Station → CSMS
Fields
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| iso15118SchemaVersion | string [0..50] | 1..1 | Required. Schema version currently used for the 15118 session between EV and CS. Needed for parsing of the EXI stream by the CSMS. |
| action | CertificateActionEnumType | 1..1 | Required. Defines whether the certificate needs to be installed or updated. |
| exiRequest | string [0..5600] | 1..1 | Required. Raw CertificateInstallationReq request from EV, Base64-encoded. |
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| status | Iso15118EVCertificateStatusEnumType | 1..1 | Required. Indicates whether the message was processed properly. |
| exiResponse | string [0..5600] | 1..1 | Required. Raw CertificateInstallationRes response for the EV, Base64-encoded. CS may advertise a higher field size via OCPPCommCtrlr.FieldLength["Get15118EVCertificateResponse.exiResponse"]. |
| statusInfo | StatusInfoType | 0..1 | Optional. Detailed status information. |
CertificateActionEnumType values
Install— Install the certificate (M01).Update— Update an existing certificate (M02).
Iso15118EVCertificateStatusEnumType values
Accepted, Failed.
Examples
{
"iso15118SchemaVersion": "urn:iso:15118:2:2013:MsgDef",
"action": "Install",
"exiRequest": "gATBAAA...base64..."
}{
"status": "Accepted",
"exiResponse": "gATCAAA...base64..."
}Schema
Source:
schemas/Get15118EVCertificateRequest.json,schemas/Get15118EVCertificateResponse.json(OCPP 2.0.1 FINAL)