Extend database model for storing sealed eCMRs
When sealing the eCMR documents (the JSON document is sealed). After sealing, a new JSON document with the following structure is available:
Consisting of a header (algorithm), payload (eCMR) and the signature (seal as text).
This document is sent to other instances and stored in the database of the current instance. If, for example, a carrier has completed the document further and resealed it, this is sent back to the sender and stored again in the database.
The first step is to extend the database model with a new table (class) for storing sealed json documents. We need to save an id, two dates (created, last updated), a version and the selead json document.
Edited by Jens Leveling