Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

Fix/extended data serialization #246

Closed SteveMaier-IRT closed 2 years ago

SteveMaier-IRT commented 2 years ago

Issue

Link your PR to an issue

Fixes #245

Description

Fixed typo in NativeInterface for eg_ciphertext_election_context_make_from_hex_with_extended_data

Added serialization to and from JSON/BSON for the extended data.

Testing

Additional unit test added to verify extended data serialization