Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
md_acme_authz.h File Reference

Go to the source code of this file.

Data Structures

struct  md_acme_authz_t
 

Macros

#define MD_AUTHZ_TYPE_DNS01   "dns-01"
 
#define MD_AUTHZ_TYPE_HTTP01   "http-01"
 
#define MD_AUTHZ_TYPE_TLSALPN01   "tls-alpn-01"
 
#define MD_FN_HTTP01   "acme-http-01.txt"
 
#define MD_FN_TLSSNI01_CERT   "acme-tls-sni-01.cert.pem"
 
#define MD_FN_TLSSNI01_PKEY   "acme-tls-sni-01.key.pem"
 
#define MD_FN_TLSALPN01_CERT   "acme-tls-alpn-01.cert.pem"
 
#define MD_FN_TLSALPN01_PKEY   "acme-tls-alpn-01.key.pem"
 

Typedefs

typedef struct md_acme_challenge_t md_acme_challenge_t
 
typedef struct md_acme_authz_t md_acme_authz_t
 

Enumerations

enum  md_acme_authz_state_t { MD_ACME_AUTHZ_S_UNKNOWN, MD_ACME_AUTHZ_S_PENDING, MD_ACME_AUTHZ_S_VALID, MD_ACME_AUTHZ_S_INVALID }
 

Functions

md_acme_authz_tmd_acme_authz_create (apr_pool_t *p)
 
apr_status_t md_acme_authz_register (struct md_acme_authz_t **pauthz, struct md_acme_t *acme, const char *domain, apr_pool_t *p)
 
apr_status_t md_acme_authz_retrieve (md_acme_t *acme, apr_pool_t *p, const char *url, md_acme_authz_t **pauthz)
 
apr_status_t md_acme_authz_update (md_acme_authz_t *authz, struct md_acme_t *acme, apr_pool_t *p)
 
apr_status_t md_acme_authz_respond (md_acme_authz_t *authz, struct md_acme_t *acme, struct md_store_t *store, apr_array_header_t *challenges, struct md_pkey_spec_t *key_spec, apr_array_header_t *acme_tls_1_domains, struct apr_table_t *env, apr_pool_t *p, const char **setup_token, struct md_result_t *result)
 
apr_status_t md_acme_authz_teardown (struct md_store_t *store, const char *setup_token, struct apr_table_t *env, apr_pool_t *p)
 

Macro Definition Documentation

#define MD_AUTHZ_TYPE_DNS01   "dns-01"
#define MD_AUTHZ_TYPE_HTTP01   "http-01"
#define MD_AUTHZ_TYPE_TLSALPN01   "tls-alpn-01"
#define MD_FN_HTTP01   "acme-http-01.txt"
#define MD_FN_TLSALPN01_CERT   "acme-tls-alpn-01.cert.pem"
#define MD_FN_TLSALPN01_PKEY   "acme-tls-alpn-01.key.pem"
#define MD_FN_TLSSNI01_CERT   "acme-tls-sni-01.cert.pem"
#define MD_FN_TLSSNI01_PKEY   "acme-tls-sni-01.key.pem"

Typedef Documentation

Enumeration Type Documentation

Enumerator
MD_ACME_AUTHZ_S_UNKNOWN 
MD_ACME_AUTHZ_S_PENDING 
MD_ACME_AUTHZ_S_VALID 
MD_ACME_AUTHZ_S_INVALID 

Function Documentation

md_acme_authz_t* md_acme_authz_create ( apr_pool_t p)
apr_status_t md_acme_authz_register ( struct md_acme_authz_t **  pauthz,
struct md_acme_t acme,
const char *  domain,
apr_pool_t p 
)
apr_status_t md_acme_authz_respond ( md_acme_authz_t authz,
struct md_acme_t acme,
struct md_store_t store,
apr_array_header_t challenges,
struct md_pkey_spec_t key_spec,
apr_array_header_t acme_tls_1_domains,
struct apr_table_t env,
apr_pool_t p,
const char **  setup_token,
struct md_result_t result 
)
apr_status_t md_acme_authz_retrieve ( md_acme_t acme,
apr_pool_t p,
const char *  url,
md_acme_authz_t **  pauthz 
)
apr_status_t md_acme_authz_teardown ( struct md_store_t store,
const char *  setup_token,
struct apr_table_t env,
apr_pool_t p 
)
apr_status_t md_acme_authz_update ( md_acme_authz_t authz,
struct md_acme_t acme,
apr_pool_t p 
)