source: mod_gnutls/src/gnutls_ocsp.h @ 94cb972

Last change on this file since 94cb972 was 94cb972, checked in by Thomas Klute <thomas2.klute@…>, 5 years ago

Minimal OCSP stapling implementation using externally provided response

Works if the configured file contains a valid and current OCSP
response. Note that the module does not yet check those conditions,
the file is just read and forwarded to GnuTLS.

  • Property mode set to 100644
File size: 1.1 KB
2 *  Copyright 2016 Thomas Klute
3 *
4 *  Licensed under the Apache License, Version 2.0 (the "License");
5 *  you may not use this file except in compliance with the License.
6 *  You may obtain a copy of the License at
7 *
8 *
9 *
10 *  Unless required by applicable law or agreed to in writing, software
11 *  distributed under the License is distributed on an "AS IS" BASIS,
12 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 *  See the License for the specific language governing permissions and
14 *  limitations under the License.
15 */
17#ifndef __MOD_GNUTLS_OCSP_H__
18#define __MOD_GNUTLS_OCSP_H__
20#include "gnutls/gnutls.h"
21#include "httpd.h"
22#include "http_config.h"
24const char *mgs_store_ocsp_response_path(cmd_parms * parms,
25                                         void *dummy __attribute__((unused)),
26                                         const char *arg);
28int mgs_get_ocsp_response(gnutls_session_t session, void *ptr,
29                          gnutls_datum_t *ocsp_response);
31#endif /* __MOD_GNUTLS_OCSP_H__ */
Note: See TracBrowser for help on using the repository browser.