Home GnuPG
Diffusion GPGME 2100e1fbdfeb

Add flag fields is_de_vs and beta_compliance to encryption results

Description

Add flag fields is_de_vs and beta_compliance to encryption results

* src/encrypt.c (_gpgme_encrypt_status_handler): Handle the compliance
status line.
* src/gpgme.h.in (struct _gpgme_op_encrypt_result): Add fields is_de_vs
and beta_compliance.
(gpgme_status_code_t): Add status code for the encryption compliance
status line.
* src/status-table.c (status_table): Add encryption compliance status
line.
* tests/run-encrypt.c (print_encrypt_result): Print compliance.

This allows checking whether the encrypt operation is in compliance with
the VS-NfD criteria.