diff options
author | Stef Walter <stefw@gnome.org> | 2013-03-12 18:03:25 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-03-15 17:54:55 +0100 |
commit | ff009f8a671e6ddd02a684bb1707a2a797fe4600 (patch) | |
tree | 3f3d5162a64f0addb0ad2d1acba91eae46f8ef1e /trust/token.h | |
parent | 3fc6365093ad07b2eb5ef859093c5c5eb56ee700 (diff) |
trust: Refactor to include concept of the index
* The index holds PKCS#11 objects whether for the token or for the session.
* The index provides hook for a builder to expand or validate objects
being added to the index.
* In addition theres a change hook so that a builder can maintain state
between objects, such as the compat NSS trust objects.
https://bugs.freedesktop.org/show_bug.cgi?id=62329
Diffstat (limited to 'trust/token.h')
-rw-r--r-- | trust/token.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trust/token.h b/trust/token.h index 599e982..43cebaa 100644 --- a/trust/token.h +++ b/trust/token.h @@ -36,6 +36,7 @@ #define P11_TOKEN_H_ #include "dict.h" +#include "index.h" #include "pkcs11.h" typedef struct _p11_token p11_token; @@ -47,7 +48,7 @@ void p11_token_free (p11_token *token); int p11_token_load (p11_token *token); -p11_dict * p11_token_objects (p11_token *token); +p11_index * p11_token_index (p11_token *token); const char * p11_token_get_path (p11_token *token); |