2016-06-29 12:00:22 +02:00
|
|
|
/* call-dirmngr.h - Interact with the Dirmngr.
|
|
|
|
* Copyright (C) 2016 g10 Code GmbH
|
2017-06-19 12:37:52 +02:00
|
|
|
* Copyright (C) 2016 Bundesamt für Sicherheit in der Informationstechnik
|
2016-06-29 12:00:22 +02:00
|
|
|
*
|
|
|
|
* This file is part of GnuPG.
|
|
|
|
*
|
2017-06-19 12:37:52 +02:00
|
|
|
* This file is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2.1 of
|
|
|
|
* the License, or (at your option) any later version.
|
2016-06-29 12:00:22 +02:00
|
|
|
*
|
2017-06-19 12:37:52 +02:00
|
|
|
* This file is distributed in the hope that it will be useful,
|
2016-06-29 12:00:22 +02:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2017-06-19 12:37:52 +02:00
|
|
|
* GNU Lesser General Public License for more details.
|
2016-06-29 12:00:22 +02:00
|
|
|
*
|
2017-06-19 12:37:52 +02:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
2016-11-05 12:02:19 +01:00
|
|
|
* along with this program; if not, see <https://www.gnu.org/licenses/>.
|
2016-06-29 12:00:22 +02:00
|
|
|
*/
|
|
|
|
#ifndef GNUPG_TOOLS_CALL_DIRMNGR_H
|
|
|
|
#define GNUPG_TOOLS_CALL_DIRMNGR_H
|
|
|
|
|
|
|
|
void set_dirmngr_options (int verbose, int debug_ipc, int autostart);
|
|
|
|
|
|
|
|
gpg_error_t wkd_get_submission_address (const char *addrspec,
|
|
|
|
char **r_addrspec);
|
2016-09-02 16:54:42 +02:00
|
|
|
gpg_error_t wkd_get_policy_flags (const char *addrspec, estream_t *r_buffer);
|
2016-06-29 12:00:22 +02:00
|
|
|
|
2016-12-08 16:57:21 +01:00
|
|
|
gpg_error_t wkd_get_key (const char *addrspec, estream_t *r_key);
|
|
|
|
|
2016-06-29 12:00:22 +02:00
|
|
|
|
|
|
|
#endif /*GNUPG_TOOLS_CALL_DIRMNGR_H*/
|