Apache HTTPD
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 md_ocsp_h
18#define md_ocsp_h
19
20struct md_data_t;
21struct md_job_t;
22struct md_json_t;
23struct md_result_t;
24struct md_store_t;
25struct md_timeslice_t;
26
32
35
37
39 struct md_store_t *store,
41 const char *user_agent, const char *proxy_url,
43
45
47 md_cert_t *x, md_cert_t *issuer, const md_t *md);
48
49typedef void md_ocsp_copy_der(const unsigned char *der, apr_size_t der_len, void *userdata);
50
52 const char *ext_id, apr_size_t ext_id_len,
53 apr_pool_t *p, const md_t *md);
54
56 md_ocsp_reg_t *reg, const md_cert_t *cert,
57 apr_pool_t *p, const md_t *md);
58
60
62
64 apr_time_t timestamp);
65
68
69struct md_job_t *md_ocsp_job_make(md_ocsp_reg_t *ocsp, const char *mdomain, apr_pool_t *p);
70
71#endif /* md_ocsp_h */
const ap_regex_t * preg
Definition ap_regex.h:197
apr_size_t size
int apr_status_t
Definition apr_errno.h:44
apr_int64_t apr_time_t
Definition apr_time.h:45
apr_pool_t * p
Definition md_event.c:32
void md_ocsp_get_summary(struct md_json_t **pjson, md_ocsp_reg_t *reg, apr_pool_t *p)
Definition md_ocsp.c:955
const char * md_ocsp_cert_stat_name(md_ocsp_cert_stat_t stat)
Definition md_ocsp.c:101
apr_size_t md_ocsp_count(md_ocsp_reg_t *reg)
Definition md_ocsp.c:491
apr_status_t md_ocsp_reg_make(md_ocsp_reg_t **preg, apr_pool_t *p, struct md_store_t *store, const md_timeslice_t *renew_window, const char *user_agent, const char *proxy_url, apr_time_t min_delay)
Definition md_ocsp.c:274
void md_ocsp_renew(md_ocsp_reg_t *reg, apr_pool_t *p, apr_pool_t *ptemp, apr_time_t *pnext_run)
Definition md_ocsp.c:880
struct md_job_t * md_ocsp_job_make(md_ocsp_reg_t *ocsp, const char *mdomain, apr_pool_t *p)
Definition md_ocsp.c:1056
md_ocsp_cert_stat_t
Definition md_ocsp.h:27
@ MD_OCSP_CERT_ST_GOOD
Definition md_ocsp.h:29
@ MD_OCSP_CERT_ST_REVOKED
Definition md_ocsp.h:30
@ MD_OCSP_CERT_ST_UNKNOWN
Definition md_ocsp.h:28
apr_status_t md_ocsp_remove_responses_older_than(md_ocsp_reg_t *reg, apr_pool_t *p, apr_time_t timestamp)
Definition md_ocsp.c:922
void md_ocsp_copy_der(const unsigned char *der, apr_size_t der_len, void *userdata)
Definition md_ocsp.h:49
apr_status_t md_ocsp_get_status(md_ocsp_copy_der *cb, void *userdata, md_ocsp_reg_t *reg, const char *ext_id, apr_size_t ext_id_len, apr_pool_t *p, const md_t *md)
Definition md_ocsp.c:373
md_ocsp_cert_stat_t md_ocsp_cert_stat_value(const char *name)
Definition md_ocsp.c:110
apr_status_t md_ocsp_prime(md_ocsp_reg_t *reg, const char *ext_id, apr_size_t ext_id_len, md_cert_t *x, md_cert_t *issuer, const md_t *md)
Definition md_ocsp.c:305
apr_status_t md_ocsp_init_id(struct md_data_t *id, apr_pool_t *p, const md_cert_t *cert)
Definition md_ocsp.c:117
apr_status_t md_ocsp_get_meta(md_ocsp_cert_stat_t *pstat, md_timeperiod_t *pvalid, md_ocsp_reg_t *reg, const md_cert_t *cert, apr_pool_t *p, const md_t *md)
Definition md_ocsp.c:457
void md_ocsp_get_status_all(struct md_json_t **pjson, md_ocsp_reg_t *reg, apr_pool_t *p)
Definition md_ocsp.c:1033
char * name
const char * mdomain
Definition md_status.h:54
apr_time_t min_delay
Definition md_ocsp.c:61
md_timeslice_t renew_window
Definition md_ocsp.c:58
const char * proxy_url
Definition md_ocsp.c:54
md_store_t * store
Definition md_ocsp.c:52
const char * user_agent
Definition md_ocsp.c:53
Definition md.h:76