diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-15 09:22:57 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-15 17:44:32 +0100 |
commit | 07a53cecc3220b3811f9db7514e49235fff32b94 (patch) | |
tree | 19b9d244a5750ec7e577bef556332f5f111b585b /tools/extract.h | |
parent | 7fc0ecd1ca7840e71958e62163b27d645c936c25 (diff) |
extract: Combine trust policy when extracting
* Collapse multiple identical certificates coming from different
tokens. Note that if a certificate should not be placed multiple
times on a token. We cannot know which one to respect.
* Add a new extract filter: --trust-policy
This extracts all anchor and blacklist information
https://bugs.freedesktop.org/show_bug.cgi?id=61497
Diffstat (limited to 'tools/extract.h')
-rw-r--r-- | tools/extract.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/extract.h b/tools/extract.h index dfd3a33..85405e5 100644 --- a/tools/extract.h +++ b/tools/extract.h @@ -46,11 +46,15 @@ enum { /* These overlap with the flags in save.h, so start higher */ P11_EXTRACT_COMMENT = 1 << 10, + P11_EXTRACT_ANCHORS = 1 << 11, + P11_EXTRACT_BLACKLIST = 1 << 12, + P11_EXTRACT_COLLAPSE = 1 << 13, }; typedef struct { p11_dict *asn1_defs; p11_dict *limit_to_purposes; + p11_dict *already_seen; char *destination; int flags; |