chiark / gitweb /
NOT FOR UPSTREAM - CHANGELOG VERSION
[gnupg2.git] / dirmngr / ocsp.h
1 /* ocsp.h - OCSP management
2  *      Copyright (C) 2003 g10 Code GmbH
3  *
4  * This file is part of DirMngr.
5  *
6  * DirMngr is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * DirMngr is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19  * USA.
20  */
21
22 #ifndef OCSP_H
23 #define OCSP_H
24
25 gpg_error_t ocsp_isvalid (ctrl_t ctrl, ksba_cert_t cert, const char *cert_fpr,
26                           int force_default_responder);
27
28 /* Release the list of OCSP certificates hold in the CTRL object. */
29 void release_ctrl_ocsp_certs (ctrl_t ctrl);
30
31 #endif /*OCSP_H*/