diff options
author | Werner Koch <wk@gnupg.org> | 2011-02-09 15:42:29 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-02-09 15:42:29 +0100 |
commit | f02d972aec94e3ec8fdadd080d159d5a34c96722 (patch) | |
tree | bc10d5f96c9d58adb0a48c94154694963e2b2b8e /dirmngr/ks-engine.h | |
parent | Add finger support to dirmngr. (diff) | |
download | gnupg2-f02d972aec94e3ec8fdadd080d159d5a34c96722.tar.xz gnupg2-f02d972aec94e3ec8fdadd080d159d5a34c96722.zip |
Support key fetching using HTTP.
A simple test case is:
gpg2 --fetch-key http://werner.eifelkommune.de/mykey.asc
Diffstat (limited to 'dirmngr/ks-engine.h')
-rw-r--r-- | dirmngr/ks-engine.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dirmngr/ks-engine.h b/dirmngr/ks-engine.h index 50f42be4b..9d2afdf85 100644 --- a/dirmngr/ks-engine.h +++ b/dirmngr/ks-engine.h @@ -31,8 +31,12 @@ gpg_error_t ks_hkp_get (ctrl_t ctrl, parsed_uri_t uri, gpg_error_t ks_hkp_put (ctrl_t ctrl, parsed_uri_t uri, const void *data, size_t datalen); +/*-- ks-engine-http.c --*/ +gpg_error_t ks_http_fetch (ctrl_t ctrl, const char *url, estream_t *r_fp); + + /*-- ks-engine-finger.c --*/ -gpg_error_t ks_finger_get (ctrl_t ctrl, parsed_uri_t uri, estream_t *r_fp); +gpg_error_t ks_finger_fetch (ctrl_t ctrl, parsed_uri_t uri, estream_t *r_fp); |