Apache2
md_acme_drive.h
Go to the documentation of this file.
1 /* Copyright 2019 greenbytes GmbH (https://www.greenbytes.de)
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8 
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef md_acme_drive_h
17 #define md_acme_drive_h
18 
19 struct apr_array_header_t;
20 struct md_acme_order_t;
21 struct md_credentials_t;
22 struct md_result_t;
23 
24 typedef struct md_acme_driver_t {
26  void *sub_driver;
27 
29  md_t *md;
32 
33  int complete;
34  apr_array_header_t *creds; /* the new md_credentials_t */
35 
36  struct md_credentials_t *cred; /* credentials currently being processed */
37  const char *chain_up_link; /* Link header "up" from last chain retrieval,
38  needs to be followed */
39 
42 
43  const char *csr_der_64;
45 
47 
49  struct md_result_t *result);
51  struct md_result_t *result);
53 
54 #endif /* md_acme_drive_h */
55 
int apr_status_t
Definition: apr_errno.h:44
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
apr_status_t md_acme_drive_set_acct(struct md_proto_driver_t *d, struct md_result_t *result)
apr_status_t md_acme_drive_cert_poll(struct md_proto_driver_t *d, int only_once)
struct md_acme_driver_t md_acme_driver_t
apr_status_t md_acme_drive_setup_cred_chain(struct md_proto_driver_t *d, struct md_result_t *result)
Definition: apr_tables.h:62
Definition: md_acme_drive.h:24
md_acme_t * acme
Definition: md_acme_drive.h:28
const char * chain_up_link
Definition: md_acme_drive.h:37
apr_interval_time_t cert_poll_timeout
Definition: md_acme_drive.h:44
struct md_acme_order_t * order
Definition: md_acme_drive.h:40
const char * csr_der_64
Definition: md_acme_drive.h:43
md_proto_driver_t * driver
Definition: md_acme_drive.h:25
apr_array_header_t * creds
Definition: md_acme_drive.h:34
struct apr_array_header_t * domains
Definition: md_acme_drive.h:30
apr_array_header_t * ca_challenges
Definition: md_acme_drive.h:31
struct md_credentials_t * cred
Definition: md_acme_drive.h:36
int complete
Definition: md_acme_drive.h:33
void * sub_driver
Definition: md_acme_drive.h:26
md_t * md
Definition: md_acme_drive.h:29
apr_interval_time_t authz_monitor_timeout
Definition: md_acme_drive.h:41
Definition: md_acme_order.h:32
Definition: md_acme.h:94
Definition: md_store.h:266
Definition: md_reg.h:209
Definition: md_result.h:29
Definition: md.h:76