v2.0.0
Loading...
Searching...
No Matches
mna_verification.cpp File Reference

JSON and CBOR codecs for MnaVerificationCheck, MnaVerificationResult, MnaProvenance and the top-level MnaVerification aggregator. More...

#include "mna_verification.h"
#include <QJsonArray>
#include <QCborArray>
#include <QSysInfo>
Include dependency graph for mna_verification.cpp:

Go to the source code of this file.

Detailed Description

JSON and CBOR codecs for MnaVerificationCheck, MnaVerificationResult, MnaProvenance and the top-level MnaVerification aggregator.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

The implementation serialises each struct field-for-field and delegates nested MnaScript bodies and check / result lists to their own codecs so a verification block round-trips losslessly between JSON and CBOR. MnaProvenance records its software-environment strings, timing fields and input-hash map verbatim so a later re-run can be compared against the original execution; this is what gives MNA projects their audit-trail value for clinical and publication-grade pipelines.

Definition in file mna_verification.cpp.