CPC G06F 21/554 (2013.01) [G06F 2221/034 (2013.01)] | 13 Claims |
1. A computer-implemented method for verifying messages in a service-oriented communication system of a vehicle, comprising the following steps:
receiving a message and a signature in a first entity of the service-oriented communication system, the message and the signature being received via the service-oriented communication system;
checking if the message corresponds to a dedicated message and the signature corresponds to a signature belonging to the dedicated message; and
verifying the message, based on a result of the checking being positive;
wherein the dedicated message and the signature belonging to the dedicated message, are stored in the first entity;
wherein the dedicated message and the signature belonging to the dedicated message are generated and stored in the first entity by:
sharing a secret key with a second entity,
sharing a plurality of messages dedicated to the communication between the first entity and the second entity with the second entity, in a predetermined order,
generating a signature for each message of the plurality of messages dedicated to the communication between the first entity and the second entity, and in the predetermined order, based on at least the secret key, in such a manner that the signatures for each message match in the first entity and the second entity,
storing the messages dedicated to the communication between the first entity and the second entity and the corresponding signatures, in the first entity, wherein the dedicated message is one of the messages dedicated to the communication between the first entity and the second entity.
|