X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=util%2Fcrypto.h;h=11e8060a85e8377b09954019ce106f1bdc951c2e;hb=27b25e45dc675af2e9ffeea014a54e34bfbdad83;hp=c6fa7f4b76578b63d5f6aa1008b58cf10ec3b64c;hpb=74919c226eafad4de6b3a823f83a8be970e77e24;p=notmuch diff --git a/util/crypto.h b/util/crypto.h index c6fa7f4b..11e8060a 100644 --- a/util/crypto.h +++ b/util/crypto.h @@ -50,7 +50,7 @@ typedef struct _notmuch_message_crypto { /* signature status of the whole message (either the whole message * is signed, or it is not) -- this means that partially-signed * messages will get no signature status. */ - GMimeSignatureList * sig_list; + GMimeSignatureList *sig_list; /* if part of the message was signed, and the MUA is clever, it * can determine on its own exactly which part and try to make * more sense of it. */ @@ -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;