Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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_result_t;
22 
23 typedef struct md_acme_driver_t {
25  void *sub_driver;
26 
27  int complete;
28 
29  md_pkey_t *privkey; /* the new private key */
30  apr_array_header_t *certs; /* the certifiacte chain, starting with the new one */
31  const char *next_up_link; /* where the next chain cert is */
32 
34  md_t *md;
36 
40 
41  const char *csr_der_64;
43 
45 
47  struct md_result_t *result);
49  struct md_result_t *result);
51 
52 #endif /* md_acme_drive_h */
53 
Definition: md.h:74
Definition: apr_tables.h:62
Definition: md_acme_drive.h:23
int complete
Definition: md_acme_drive.h:27
apr_array_header_t * ca_challenges
Definition: md_acme_drive.h:37
struct apr_array_header_t * domains
Definition: md_acme_drive.h:35
const char * next_up_link
Definition: md_acme_drive.h:31
struct md_acme_driver_t md_acme_driver_t
apr_status_t md_acme_drive_cert_poll(struct md_proto_driver_t *d, int only_once)
apr_interval_time_t authz_monitor_timeout
Definition: md_acme_drive.h:39
md_t * md
Definition: md_acme_drive.h:34
md_pkey_t * privkey
Definition: md_acme_drive.h:29
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
apr_interval_time_t cert_poll_timeout
Definition: md_acme_drive.h:42
apr_status_t md_acme_drive_set_acct(struct md_proto_driver_t *d, struct md_result_t *result)
Definition: md_reg.h:193
struct md_acme_order_t * order
Definition: md_acme_drive.h:38
Definition: md_acme.h:94
md_proto_driver_t * driver
Definition: md_acme_drive.h:24
apr_array_header_t * certs
Definition: md_acme_drive.h:30
Definition: md_acme_order.h:32
void * sub_driver
Definition: md_acme_drive.h:25
Definition: md_result.h:27
apr_status_t md_acme_drive_setup_certificate(struct md_proto_driver_t *d, struct md_result_t *result)
md_acme_t * acme
Definition: md_acme_drive.h:33
const char * csr_der_64
Definition: md_acme_drive.h:41
int apr_status_t
Definition: apr_errno.h:44
struct md_pkey_t md_pkey_t
Definition: md_crypt.h:49