X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fcrypto.h;h=fdbb5da5d49de736f2d991f7b8d6e24e6af78aa4;hp=c6fa7f4b76578b63d5f6aa1008b58cf10ec3b64c;hb=a6b0772b60d9191fcc291358eec3d78bfea31f1c;hpb=80728a95e6fd8bd1c4a4f8dd8040984ab5c4b04a diff --git a/util/crypto.h b/util/crypto.h index c6fa7f4b..fdbb5da5 100644 --- a/util/crypto.h +++ b/util/crypto.h @@ -59,6 +59,11 @@ typedef struct _notmuch_message_crypto { * is not part of the cryptographic envelope) */ bool payload_encountered; + /* the value of any "Subject:" header in the cryptographic payload + * (the top level part within the crypto envelope), converted to + * UTF-8 */ + char * payload_subject; + /* if both signed and encrypted, was the signature encrypted? */ bool signature_encrypted; } _notmuch_message_crypto_t;