blob: c869d92fdb6ae6c0c748acfb7fcb58b3eba1acdc [file] [log] [blame]
William Lallemandc69973f2020-05-12 17:42:42 +02001/*
2 * include/proto/ssl_ckch.h
3 * ckch function prototypes
4 *
5 * Copyright (C) 2020 HAProxy Technologies, William Lallemand <wlallemand@haproxy.com>
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation, version 2.1
10 * exclusively.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22#ifndef _PROTO_SSL_CKCH_H
23#define _PROTO_SSL_CKCH_H
24#ifdef USE_OPENSSL
25
26#include <types/ssl_ckch.h>
27
28/* ckch_store functions */
29struct ckch_store *ckchs_load_cert_file(char *path, int multi, char **err);
30struct ckch_store *ckchs_lookup(char *path);
31
32/* ckch_inst functions */
33void ckch_inst_free(struct ckch_inst *inst);
34struct ckch_inst *ckch_inst_new();
35
36
37#endif /* USE_OPENSSL */
38#endif /* _PROTO_SSL_CRTLIST_H */