acme_dns_client.h
#define ACME_DNS_CLIENT_MAX_PASSWORD_LEN
Definition: acme_dns_client.h:83
error_t acmeDnsClientUpdate(AcmeDnsClientContext *context, const char_t *txt)
Update endpoint.
Definition: acme_dns_client.c:602
error_t acmeDnsClientConnect(AcmeDnsClientContext *context, const IpAddr *serverIpAddr, uint16_t serverPort)
Establish a connection with the specified ACME-DNS server.
Definition: acme_dns_client.c:358
error_t acmeDnsClientSetTimeout(AcmeDnsClientContext *context, systime_t timeout)
Set communication timeout.
Definition: acme_dns_client.c:109
AcmeDnsClientTlsInitCallback tlsInitCallback
TLS initialization callback function.
Definition: acme_dns_client.h:165
error_t acmeDnsClientClose(AcmeDnsClientContext *context)
Close the connection with the ACME-DNS server.
Definition: acme_dns_client.c:839
@ ACME_DNS_CLIENT_STATE_DISCONNECTED
Definition: acme_dns_client.h:127
char_t serverName[ACME_DNS_CLIENT_MAX_HOST_LEN+1]
Host name of the ACME-DNS server.
Definition: acme_dns_client.h:167
const char_t * acmeDnsClientGetUsername(AcmeDnsClientContext *context)
Get user name.
Definition: acme_dns_client.c:234
error_t acmeDnsClientSetSubDomain(AcmeDnsClientContext *context, const char_t *subDomain)
Set sub domain.
Definition: acme_dns_client.c:209
@ ACME_DNS_CLIENT_STATE_RECEIVE_HEADER
Definition: acme_dns_client.h:132
error_t acmeDnsClientDisconnect(AcmeDnsClientContext *context)
Gracefully disconnect from the ACME-DNS server.
Definition: acme_dns_client.c:773
char_t buffer[ACME_DNS_CLIENT_BUFFER_SIZE+1]
Memory buffer for input/output operations.
Definition: acme_dns_client.h:173
General definitions for cryptographic algorithms.
error_t acmeDnsClientRegisterTlsInitCallback(AcmeDnsClientContext *context, AcmeDnsClientTlsInitCallback callback)
Register TLS initialization callback function.
Definition: acme_dns_client.c:85
void acmeDnsClientDeinit(AcmeDnsClientContext *context)
Release ACME-DNS client context.
Definition: acme_dns_client.c:860
char_t fullDomain[ACME_DNS_CLIENT_MAX_FULL_DOMAIN_LEN+1]
Full domain.
Definition: acme_dns_client.h:172
const char_t * acmeDnsClientGetSubDomain(AcmeDnsClientContext *context)
Get sub domain.
Definition: acme_dns_client.c:284
HTTP client (HyperText Transfer Protocol)
const char_t * acmeDnsClientGetPassword(AcmeDnsClientContext *context)
Get password.
Definition: acme_dns_client.c:259
@ ACME_DNS_CLIENT_STATE_DISCONNECTING
Definition: acme_dns_client.h:137
@ ACME_DNS_CLIENT_STATE_PARSE_HEADER
Definition: acme_dns_client.h:133
#define ACME_DNS_CLIENT_MAX_FULL_DOMAIN_LEN
Definition: acme_dns_client.h:97
@ ACME_DNS_CLIENT_STATE_RECEIVE_BODY
Definition: acme_dns_client.h:134
error_t acmeDnsClientRegister(AcmeDnsClientContext *context)
Register endpoint.
Definition: acme_dns_client.c:460
error_t(* AcmeDnsClientTlsInitCallback)(HttpClientContext *context, TlsContext *tlsContext)
TLS initialization callback function.
Definition: acme_dns_client.h:148
error_t acmeDnsClientBindToInterface(AcmeDnsClientContext *context, NetInterface *interface)
Bind the ACME-DNS client to a particular network interface.
Definition: acme_dns_client.c:335
TLS (Transport Layer Security)
#define ACME_DNS_CLIENT_MAX_SUB_DOMAIN_LEN
Definition: acme_dns_client.h:90
error_t acmeDnsClientSetUsername(AcmeDnsClientContext *context, const char_t *username)
Set user name.
Definition: acme_dns_client.c:157
const char_t * acmeDnsClientGetFullDomain(AcmeDnsClientContext *context)
Get full domain.
Definition: acme_dns_client.c:309
error_t acmeDnsClientSetPassword(AcmeDnsClientContext *context, const char_t *password)
Set password.
Definition: acme_dns_client.c:183
TCP/IP stack core.
@ ACME_DNS_CLIENT_STATE_SEND_HEADER
Definition: acme_dns_client.h:130
error_t acmeDnsClientInit(AcmeDnsClientContext *context)
Initialize ACME-DNS client context.
Definition: acme_dns_client.c:49
error_t acmeDnsClientSetHost(AcmeDnsClientContext *context, const char_t *host)
Set the domain name of the ACME-DNS server.
Definition: acme_dns_client.c:131
#define ACME_DNS_CLIENT_MAX_USERNAME_LEN
Definition: acme_dns_client.h:76