#include "gale/misc.h"
#include "oop.h"
Typedefs | |
| typedef void* | gale_key_call (oop_source *oop,struct gale_key *key,void *user) |
| Callback for gale_key_search() and gale_key_generate(). More... | |
| typedef void | gale_key_hook ( struct gale_time now,oop_source *oop, struct gale_key *key,int do_private, struct gale_key_request *handle, void *user,void **cache) |
| Callback for key search strategy drivers. More... | |
Enumerations | |
| enum | { search_private = 1, search_slow = 2, search_all = 3, search_harder = 4 } |
Functions | |
| struct gale_key* | gale_key_handle (struct gale_text name) |
| Get a key handle. More... | |
| struct gale_key* | gale_key_parent (struct gale_key *) |
| Get a key's parent. More... | |
| struct gale_text | gale_key_name (struct gale_key *) |
| Get a key's name. More... | |
| const struct gale_key_assertion* | gale_key_private (struct gale_key *) |
| Report the assertion currently active for a particular private key, if any. More... | |
| const struct gale_key_assertion* | gale_key_public ( struct gale_key *, struct gale_time) |
| Report the assertion currently active for a particular public key, if any. More... | |
| struct gale_key_assertion* | gale_key_assert ( struct gale_data,struct gale_text,struct gale_time,int trust) |
| Supply some raw key data to the system. More... | |
| struct gale_key_assertion* | gale_key_assert_group ( struct gale_group,struct gale_text,struct gale_time,int trust) |
| Supply some slightly cooked key data. More... | |
| void | gale_key_retract (struct gale_key_assertion *,int trust) |
| Retract a previous assertion. More... | |
| int | gale_key_trusted (const struct gale_key_assertion *) |
| Is an assertion implicitly trusted? More... | |
| struct gale_key* | gale_key_owner (const struct gale_key_assertion *) |
| What is the key associated with an assertion? More... | |
| const struct gale_key_assertion* | gale_key_signed ( const struct gale_key_assertion *) |
| Is a public key signed? More... | |
| struct gale_group | gale_key_data (const struct gale_key_assertion *) |
| Get a key's data. More... | |
| struct gale_data | gale_key_raw (const struct gale_key_assertion *) |
| Get the original, raw data associated with a key. More... | |
| struct gale_text | gale_key_from (const struct gale_key_assertion *) |
| Get text describing where a key came from. More... | |
| struct gale_time | gale_key_time (const struct gale_key_assertion *) |
| Get the most recent timestamp given for a key. More... | |
| void | gale_key_search (oop_source *source, struct gale_key *,int flags, gale_key_call *,void *user) |
| Search for key data. More... | |
| void | gale_key_generate (oop_source *source, struct gale_key *,struct gale_group, gale_key_call *,void *user) |
| Generate a new key. More... | |
| void | gale_key_add_hook (gale_key_hook *,void *user) |
| Add a search strategy hook that will be called when looking for keys. More... | |
| void | gale_key_hook_done (oop_source *, struct gale_key *,struct gale_key_request *) |
| Notify the system that search is complete. More... | |
|
|
Callback for gale_key_search() and gale_key_generate().
|
|
|
Callback for key search strategy drivers.
|
|
|
Add a search strategy hook that will be called when looking for keys. The hook function should call gale_key_hook_done() when it is finished processing.
|
|
|
Supply some raw key data to the system.
|
|
|
Supply some slightly cooked key data.
|
|
|
Get a key's data.
|
|
|
Get text describing where a key came from.
|
|
|
Generate a new key.
|
|
|
Get a key handle.
|
|
|
Notify the system that search is complete. Called from a gale_key_hook function when the callback is done.
|
|
|
Get a key's name.
|
|
|
What is the key associated with an assertion?
|
|
|
Get a key's parent.
|
|
|
Report the assertion currently active for a particular private key, if any.
|
|
|
Report the assertion currently active for a particular public key, if any.
|
|
|
Get the original, raw data associated with a key.
|
|
|
Retract a previous assertion.
|
|
|
Search for key data.
|
|
|
Is a public key signed?
|
|
|
Get the most recent timestamp given for a key.
|
|
|
Is an assertion implicitly trusted?
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000