summaryrefslogtreecommitdiffstats
path: root/kbx/keybox.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-06-19 10:29:41 +0200
committerWerner Koch <wk@gnupg.org>2002-06-19 10:29:41 +0200
commit031a856a7e8ce850662ce6d16007549a1a5ee34f (patch)
tree3185f03d0cc830c8624238a75e9be4e073d3d2cb /kbx/keybox.h
parent* certreqgen.c (read_parameters): Improved error handling. (diff)
downloadgnupg2-031a856a7e8ce850662ce6d16007549a1a5ee34f.tar.xz
gnupg2-031a856a7e8ce850662ce6d16007549a1a5ee34f.zip
* keybox-init.c (keybox_set_ephemeral): New.
* keybox-blob.c (create_blob_header): Store epheermal flag. (_keybox_create_x509_blob): Pass epheermal flag on. * keybox-update.c (keybox_insert_cert): Ditto. * keybox-search.c (blob_get_blob_flags): New. (keybox_search): Ignore ephemeral blobs when not in ephemeral mode. * keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
Diffstat (limited to 'kbx/keybox.h')
-rw-r--r--kbx/keybox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kbx/keybox.h b/kbx/keybox.h
index fcacc49d3..a763ec837 100644
--- a/kbx/keybox.h
+++ b/kbx/keybox.h
@@ -75,6 +75,7 @@ int keybox_is_writable (void *token);
KEYBOX_HANDLE keybox_new (void *token, int secret);
void keybox_release (KEYBOX_HANDLE hd);
const char *keybox_get_resource_name (KEYBOX_HANDLE hd);
+int keybox_set_ephemeral (KEYBOX_HANDLE hd, int yes);
/*-- keybox-search.c --*/