diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-02-18 03:45:48 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-02-18 03:45:48 +0800 |
commit | 9e55ed8c3fac87a040f9ebc38885632cabc0a516 (patch) | |
tree | c758521468c0df4df2b19b87cf0b1bd0b5e7047e /camel/camel-cipher-context.h | |
parent | 0e572dcbe55f695ecbf05dccc5b525211e9a14b5 (diff) | |
download | gsoc2013-evolution-9e55ed8c3fac87a040f9ebc38885632cabc0a516.tar.gz gsoc2013-evolution-9e55ed8c3fac87a040f9ebc38885632cabc0a516.tar.zst gsoc2013-evolution-9e55ed8c3fac87a040f9ebc38885632cabc0a516.zip |
Set the trust.
2004-02-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_verify): Set the trust.
* camel-cipher-context.h: Add a trust metric to signatures.
svn path=/trunk/; revision=24763
Diffstat (limited to 'camel/camel-cipher-context.h')
-rw-r--r-- | camel/camel-cipher-context.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/camel/camel-cipher-context.h b/camel/camel-cipher-context.h index 4b5dbaed42..6aef6ab13b 100644 --- a/camel/camel-cipher-context.h +++ b/camel/camel-cipher-context.h @@ -62,6 +62,15 @@ enum _camel_cipher_validity_sign_t { CAMEL_CIPHER_VALIDITY_SIGN_UNKNOWN, }; +enum _camel_cipher_validity_trust_t { + CAMEL_CIPHER_VALIDITY_TRUST_NONE, + CAMEL_CIPHER_VALIDITY_TRUST_NEVER, + CAMEL_CIPHER_VALIDITY_TRUST_UNDEFINED, + CAMEL_CIPHER_VALIDITY_TRUST_MARGINAL, + CAMEL_CIPHER_VALIDITY_TRUST_FULLY, + CAMEL_CIPHER_VALIDITY_TRUST_ULTIMATE +}; + enum _camel_cipher_validity_encrypt_t { CAMEL_CIPHER_VALIDITY_ENCRYPT_NONE, CAMEL_CIPHER_VALIDITY_ENCRYPT_WEAK, @@ -89,6 +98,7 @@ struct _CamelCipherValidity { struct { enum _camel_cipher_validity_sign_t status; + enum _camel_cipher_validity_trust_t trust; char *description; EDList signers; /* CamelCipherCertInfo's */ } sign; |