[Verification refinement] Implement function that obtains seal data and metadata from MIME.
Ticket implements Stage 1 of the flow described in epic:
Acceptance criteria
In utilities library:
- Accepts Gmail/Outlook MIME as an argument and parses it to replied/original part
- Extracts seal from the original part
- Extracts seal data (URL q argument)
- Extracts seal PNG metadada
- Returns an error in case seal was not found
In Gmail/Outlook Addons:
Use this function to obtain seal and remove all add-on specific functionality that does that.
Related tickets
- https://code.vereign.com/code/js-toolbox/gsdom/-/issues/1
- https://code.vereign.com/code/js-toolbox/mime-parser/-/issues/3
- https://code.vereign.com/seal/clients/outlook-add-in/-/issues/110
- https://code.vereign.com/seal/clients/gmail-add-on/-/issues/73
- https://code.vereign.com/seal/clients/outlook-add-in/-/issues/111
Edited by Igor Markin