aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-cipher-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-cipher-context.h')
-rw-r--r--camel/camel-cipher-context.h10
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;