summaryrefslogtreecommitdiffstats
path: root/pgp.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-01-29 10:25:34 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-01-29 10:25:34 +0000
commit2973c48ed199b7f88505f1d72557ab2d2b0057d5 (patch)
tree05c0cdfb002eee7401a64e0f16f2395bf77505ec /pgp.h
parent95ae5e554613063d5d73b9fe1e35aeab088e88af (diff)
[unstable] add $pgp_entry_format.
Diffstat (limited to 'pgp.h')
-rw-r--r--pgp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pgp.h b/pgp.h
index 24490903..e1040f8c 100644
--- a/pgp.h
+++ b/pgp.h
@@ -34,6 +34,9 @@
#define KEYFLAG_PREFER_SIGNING (1 << 14)
#define KEYFLAG_CANTUSE (KEYFLAG_DISABLED|KEYFLAG_REVOKED|KEYFLAG_EXPIRED)
+#define KEYFLAG_RESTRICTIONS (KEYFLAG_CANTUSE|KEYFLAG_CRITICAL)
+
+#define KEYFLAG_ABILITIES (KEYFLAG_CANSIGN|KEYFLAG_CANENCRYPT|KEYFLAG_PREFER_ENCRYPTION|KEYFLAG_PREFER_SIGNING)
typedef struct pgp_keyinfo
{
@@ -164,6 +167,8 @@ WHERE char *PgpSignMicalg;
WHERE short PgpTimeout;
+WHERE char *PgpEntryFormat;
+
BODY *pgp_decrypt_part (BODY *, STATE *, FILE *);
BODY *pgp_make_key_attachment (char *);