diff options
author | Werner Koch <[email protected]> | 2004-04-26 08:09:25 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-04-26 08:09:25 +0000 |
commit | 6aaceac7fec0b98b60ab1259bda5f97465817ce6 (patch) | |
tree | da7228afd0a40e47f7ca15ca4bacd2594979601a /kbx/keybox.h | |
parent | (oidtranstbl): New. OIDs collected from several sources. (diff) | |
download | gnupg-6aaceac7fec0b98b60ab1259bda5f97465817ce6.tar.gz gnupg-6aaceac7fec0b98b60ab1259bda5f97465817ce6.zip |
The keybox gets now compressed after 3 hours and ephemeral
stored certificates are deleted after about a day.
Diffstat (limited to 'kbx/keybox.h')
-rw-r--r-- | kbx/keybox.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kbx/keybox.h b/kbx/keybox.h index e4dc9d642..af1fc4516 100644 --- a/kbx/keybox.h +++ b/kbx/keybox.h @@ -52,9 +52,10 @@ typedef enum KEYBOX_FLAG_OWNERTRUST, /* The assigned ownertrust. */ KEYBOX_FLAG_KEY, /* The key flags; requires a key index. */ KEYBOX_FLAG_UID, /* The user ID flags; requires an uid index. */ - KEYBOX_FLAG_UID_VALIDITY/* The validity of a specific uid, requires + KEYBOX_FLAG_UID_VALIDITY,/* The validity of a specific uid, requires an uid index. */ - } keyxox_flag_t; + KEYBOX_FLAG_CREATED_AT /* The date the block was created. */ + } keybox_flag_t; /*-- keybox-init.c --*/ @@ -87,6 +88,7 @@ int keybox_update_cert (KEYBOX_HANDLE hd, ksba_cert_t cert, int keybox_set_flags (KEYBOX_HANDLE hd, int what, int idx, unsigned int value); int keybox_delete (KEYBOX_HANDLE hd); +int keybox_compress (KEYBOX_HANDLE hd); /*-- --*/ |