Apache2
mod_md_ocsp.h
Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
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  */
16 
17 #ifndef mod_md_md_ocsp_h
18 #define mod_md_md_ocsp_h
19 
20 
22  X509 *cert, X509 *issuer);
23 
24 int md_ocsp_get_stapling_status(unsigned char **pder, int *pderlen,
25  conn_rec *c, server_rec *s, X509 *cert);
26 
28  const char *id, apr_size_t id_len, const char *pem);
29 
30 int md_ocsp_provide_status(server_rec *s, conn_rec *c, const char *id, apr_size_t id_len,
31  ap_ssl_ocsp_copy_resp *cb, void *userdata);
32 
37 
38 
39 #endif /* mod_md_md_ocsp_h */
size_t apr_size_t
Definition: apr.h:393
Structure to store things which are per connection.
Definition: httpd.h:1183
int md_ocsp_get_stapling_status(unsigned char **pder, int *pderlen, conn_rec *c, server_rec *s, X509 *cert)
A structure to store information for each virtual server.
Definition: httpd.h:1372
int md_ocsp_init_stapling_status(server_rec *s, apr_pool_t *p, X509 *cert, X509 *issuer)
Definition: mod_md_config.h:46
apr_pool_t * p
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
int md_ocsp_provide_status(server_rec *s, conn_rec *c, const char *id, apr_size_t id_len, ap_ssl_ocsp_copy_resp *cb, void *userdata)
apr_status_t md_ocsp_start_watching(struct md_mod_conf_t *mc, server_rec *s, apr_pool_t *p)
int md_ocsp_prime_status(server_rec *s, apr_pool_t *p, const char *id, apr_size_t id_len, const char *pem)
void ap_ssl_ocsp_copy_resp(const unsigned char *der, apr_size_t der_len, void *userdata)
Definition: http_ssl.h:270