Module leec_api

Data Types

bin_certificate()

bin_certificate() = leec:bin_certificate()

bin_csr_key()

bin_csr_key() = leec:bin_csr_key()

bin_domain()

bin_domain() = leec:bin_domain()

bin_string()

bin_string() = text_utils:bin_string()

bin_uri()

bin_uri() = web_utils:bin_uri()

cert_req_option_map()

cert_req_option_map() = leec:cert_req_option_map()

challenge()

challenge() = leec:challenge()

directory_map()

directory_map() = leec:directory_map()

environment()

environment() = leec:environment()

json_map_decoded()

json_map_decoded() = leec:json_map_decoded()

jws()

jws() = leec:jws()

leec_http_state()

leec_http_state() = leec:leec_http_state()

nonce()

nonce() = web_utils:nonce()

option()

option(T) = basic_utils:option(T)

order_map()

order_map() = leec:order_map()

table()

table(K, V) = map_hashtable:map_hashtable(K, V)

tcp_connection_cache()

tcp_connection_cache() = leec:tcp_connection_cache()

tls_private_key()

tls_private_key() = leec:tls_private_key()

void()

void() = basic_utils:void()

Function Index

binary_to_status/1
close_tcp_connections/1
finalize_order/6
get_acme_account/5
get_certificate/5
get_directory_map/3
get_nonce/3
get_order/5
get_tcp_connection/4
notify_ready_for_challenge/5
request_authorization/5
request_new_certificate/6

Function Details

binary_to_status/1

binary_to_status(InvalidBinStatus::bin_string()) -> leec:status()

close_tcp_connections/1

close_tcp_connections(TCPCache::tcp_connection_cache()) -> void()

finalize_order/6

finalize_order(OrderDirMap::order_map(), Csr::bin_csr_key(), PrivKey::tls_private_key(), Jws::jws(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {{json_map_decoded(), bin_uri(), nonce()}, leec_http_state()}

get_acme_account/5

get_acme_account(DirMap::directory_map(), PrivKey::tls_private_key(), Jws::jws(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {{json_map_decoded(), bin_uri(), nonce()}, leec_http_state()}

get_certificate/5

get_certificate(X1::order_map(), Key::tls_private_key(), Jws::jws(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {{bin_certificate(), nonce()}, leec_http_state()}

get_directory_map/3

get_directory_map(Env::environment(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {leec:directory_map(), leec_http_state()}

get_nonce/3

get_nonce(DirMap::directory_map(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {nonce(), leec_http_state()}

get_order/5

get_order(BinUri::bin_uri(), PrivKey::tls_private_key(), Jws::jws(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {{json_map_decoded(), bin_uri(), nonce()}, leec_http_state()}

get_tcp_connection/4

get_tcp_connection(Proto::web_utils:protocol_type(), Host::net_utils:string_host_name(), Port::net_utils:tcp_port(), TCPCache::tcp_connection_cache()) -> {shotgun:connection(), tcp_connection_cache()}

notify_ready_for_challenge/5

notify_ready_for_challenge(Challenge::challenge(), PrivKey::tls_private_key(), Jws::jws(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {{json_map_decoded(), bin_uri(), nonce()}, leec_http_state()}

request_authorization/5

request_authorization(AuthUri::bin_uri(), PrivKey::tls_private_key(), Jws::jws(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {{json_map_decoded(), bin_uri(), nonce()}, leec_http_state()}

request_new_certificate/6

request_new_certificate(DirMap::directory_map(), BinDomains::[bin_domain()], PrivKey::tls_private_key(), AccountJws::jws(), CertReqOptionMap::cert_req_option_map(), LHState::leec_http_state()) -> {{json_map_decoded(), bin_uri(), nonce()}, leec_http_state()}


Generated by EDoc