libalpm
Arch Linux Package Manager Library
|
00001 /* 00002 * signing.h 00003 * 00004 * Copyright (c) 2008-2011 Pacman Development Team <pacman-dev@archlinux.org> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 #ifndef _ALPM_SIGNING_H 00020 #define _ALPM_SIGNING_H 00021 00022 #include "alpm.h" 00023 00024 char *_alpm_sigpath(alpm_handle_t *handle, const char *path); 00025 int _alpm_gpgme_checksig(alpm_handle_t *handle, const char *path, 00026 const char *base64_sig, alpm_siglist_t *result); 00027 00028 int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path, 00029 const char *base64_sig, int optional, int marginal, int unknown, 00030 alpm_siglist_t **sigdata); 00031 int _alpm_process_siglist(alpm_handle_t *handle, const char *identifier, 00032 alpm_siglist_t *siglist, int optional, int marginal, int unknown); 00033 00034 #endif /* _ALPM_SIGNING_H */ 00035 00036 /* vim: set ts=2 sw=2 noet: */