17 #ifndef mod_md_md_acme_acct_h
18 #define mod_md_md_acme_acct_h
52 #define MD_FN_ACCOUNT "account.json"
53 #define MD_FN_ACCT_KEY "account.pem"
57 #define MD_ACME_ACCT_PKEY_BITS 3072
59 #define MD_ACME_ACCT_STAGED "staged"
97 const char *agreement,
const char **prequired);
const char const dav_liveprop_group * group
Definition: mod_dav.h:1049
const char * name
Definition: mod_dav.h:805
proxy_worker proxy_server_conf char * url
Definition: mod_proxy.h:657
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_status_t md_acme_agree(md_acme_t *acme, apr_pool_t *p, const char *tos)
int md_acme_acct_matches_md(md_acme_acct_t *acct, const md_t *md)
apr_status_t md_acme_acct_from_json(md_acme_acct_t **pacct, struct md_json_t *json, apr_pool_t *p)
int md_acme_acct_matches_url(md_acme_acct_t *acct, const char *url)
apr_status_t md_acme_acct_validate(md_acme_t *acme, md_store_t *store, apr_pool_t *p)
struct md_json_t * md_acme_acct_to_json(md_acme_acct_t *acct, apr_pool_t *p)
apr_status_t md_acme_acct_deactivate(md_acme_t *acme, apr_pool_t *p)
apr_status_t md_acme_acct_id_for_md(const char **pid, md_store_t *store, md_store_group_t group, const md_t *md, apr_pool_t *p)
md_acme_acct_st
Definition: md_acme_acct.h:31
@ MD_ACME_ACCT_ST_DEACTIVATED
Definition: md_acme_acct.h:34
@ MD_ACME_ACCT_ST_REVOKED
Definition: md_acme_acct.h:35
@ MD_ACME_ACCT_ST_UNKNOWN
Definition: md_acme_acct.h:32
@ MD_ACME_ACCT_ST_VALID
Definition: md_acme_acct.h:33
apr_status_t md_acme_acct_save(md_store_t *store, apr_pool_t *p, md_acme_t *acme, const char **pid, struct md_acme_acct_t *acct, struct md_pkey_t *acct_key)
const char * md_acme_get_agreement(md_acme_t *acme)
apr_status_t md_acme_check_agreement(md_acme_t *acme, apr_pool_t *p, const char *agreement, const char **prequired)
apr_status_t md_acme_find_acct_for_md(md_acme_t *acme, md_store_t *store, const md_t *md)
apr_status_t md_acme_acct_register(md_acme_t *acme, md_store_t *store, const md_t *md, apr_pool_t *p)
apr_status_t md_acme_acct_update(md_acme_t *acme)
apr_status_t md_acme_acct_load(struct md_acme_acct_t **pacct, struct md_pkey_t **ppkey, md_store_t *store, md_store_group_t group, const char *name, apr_pool_t *p)
struct md_pkey_t md_pkey_t
Definition: md_crypt.h:47
struct md_json_t md_json_t
Definition: md_json.h:29
md_store_group_t
Definition: md_store.h:62
Definition: md_acme_acct.h:38
const char * agreement
Definition: md_acme_acct.h:45
apr_array_header_t * contacts
Definition: md_acme_acct.h:43
const char * ca_url
Definition: md_acme_acct.h:41
const char * eab_hmac
Definition: md_acme_acct.h:48
const char * orders
Definition: md_acme_acct.h:46
const char * eab_kid
Definition: md_acme_acct.h:47
md_acme_acct_st status
Definition: md_acme_acct.h:42
const char * tos_required
Definition: md_acme_acct.h:44
const char * id
Definition: md_acme_acct.h:39
const char * url
Definition: md_acme_acct.h:40
struct md_json_t * registration
Definition: md_acme_acct.h:49
Definition: md_store.h:325