]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ocpp): conform signingMethod to OCA spec and fix template curve mismatch
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 7 Apr 2026 19:30:56 +0000 (21:30 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 7 Apr 2026 19:30:56 +0000 (21:30 +0200)
commitb5f45a446f19687b1a38f92ac07da9a8a14224fd
treef2985abead347bb018e2fc867099a293c7dc6254
parentf5d6dd4e457e79d88474f86c987af3bc1876d2bf
fix(ocpp): conform signingMethod to OCA spec and fix template curve mismatch

- Set signingMethod to empty string when using OCMF encoding per OCA
  Application Note Table 11: SA field already in signedMeterData
- Add FiscalMetering.SigningMethod=ECDSA-secp256k1-SHA256 to
  keba-ocpp2-signed template to match the secp256k1 public key from
  OCA spec §5.3 example
- Update tests to expect empty signingMethod for OCMF payloads
- Remove unused SigningMethodEnumType imports from test files
src/assets/station-templates/keba-ocpp2-signed.station-template.json
src/charging-station/ocpp/OCPPSignedMeterDataGenerator.ts
tests/charging-station/ocpp/1.6/OCPP16ServiceUtils-SignedMeterValues.test.ts
tests/charging-station/ocpp/2.0/OCPP20RequestBuilders-SignedMeterValues.test.ts
tests/charging-station/ocpp/OCPPSignedMeterDataGenerator.test.ts