_AcmeClientContext Struct Reference

ACME client context. More...

#include <acme_client.h>

Data Fields

AcmeClientState state
 ACME client state. More...
 
AcmeRequestState requestState
 HTTP request state. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
systime_t timeout
 Timeout value. More...
 
const PrngAlgoprngAlgo
 Pseudo-random number generator to be used. More...
 
void * prngContext
 Pseudo-random number generator context. More...
 
HttpClientContext httpClientContext
 HTTP client context. More...
 
AcmeClientTlsInitCallback tlsInitCallback
 TLS initialization callback function. More...
 
AcmeClientCsrCallback csrCallback
 CSR generation callback function. More...
 
AcmeKeyPair accountKey
 ACME account key. More...
 
AcmeKeyPair certKey
 Certificate key. More...
 
char_t serverName [ACME_CLIENT_MAX_NAME_LEN+1]
 Host name of the ACME server. More...
 
uint16_t serverPort
 TCP port number. More...
 
char_t directoryUri [ACME_CLIENT_MAX_URI_LEN+1]
 Directory URI. More...
 
char_t nonce [ACME_CLIENT_MAX_NONCE_LEN+1]
 Value of the Replay-Nonce header field. More...
 
AcmeDirectory directory
 Directory object. More...
 
AcmeAccount account
 Account object. More...
 
AcmeOrder order
 Order object. More...
 
uint_t numIdentifiers
 Number of identifiers. More...
 
AcmeIdentifier identifiers [ACME_CLIENT_MAX_DOMAINS]
 Array of identifiers objects. More...
 
uint_t numAuthorizations
 Number of authorizations. More...
 
AcmeAuthorization authorizations [ACME_CLIENT_MAX_DOMAINS]
 Array of authorization objects. More...
 
uint_t numChallenges
 Number of challenges. More...
 
uint_t index
 Current index. More...
 
AcmeChallenge challenges [ACME_CLIENT_MAX_DOMAINS]
 Array of challenge objects. More...
 
char_t buffer [ACME_CLIENT_BUFFER_SIZE+1]
 Memory buffer for input/output operations. More...
 
size_t bufferLen
 Length of the buffer, in bytes. More...
 
size_t bufferPos
 Current position in the buffer. More...
 
uint_t statusCode
 HTTP status code. More...
 
char_t contentType [ACME_CLIENT_MAX_CONTENT_TYPE_LEN+1]
 Content type of the response. More...
 
char_t errorType [ACME_CLIENT_MAX_URN_LEN+1]
 ACME error type. More...
 
uint_t badNonceErrors
 Number of consecutive bad nonce errors. More...
 

Detailed Description

ACME client context.

Definition at line 565 of file acme_client.h.

Field Documentation

◆ account

AcmeAccount account

Account object.

Definition at line 583 of file acme_client.h.

◆ accountKey

AcmeKeyPair accountKey

ACME account key.

Definition at line 576 of file acme_client.h.

◆ authorizations

Array of authorization objects.

Definition at line 588 of file acme_client.h.

◆ badNonceErrors

uint_t badNonceErrors

Number of consecutive bad nonce errors.

Definition at line 598 of file acme_client.h.

◆ buffer

Memory buffer for input/output operations.

Definition at line 592 of file acme_client.h.

◆ bufferLen

size_t bufferLen

Length of the buffer, in bytes.

Definition at line 593 of file acme_client.h.

◆ bufferPos

size_t bufferPos

Current position in the buffer.

Definition at line 594 of file acme_client.h.

◆ certKey

AcmeKeyPair certKey

Certificate key.

Definition at line 577 of file acme_client.h.

◆ challenges

Array of challenge objects.

Definition at line 591 of file acme_client.h.

◆ contentType

Content type of the response.

Definition at line 596 of file acme_client.h.

◆ csrCallback

AcmeClientCsrCallback csrCallback

CSR generation callback function.

Definition at line 575 of file acme_client.h.

◆ directory

AcmeDirectory directory

Directory object.

Definition at line 582 of file acme_client.h.

◆ directoryUri

Directory URI.

Definition at line 580 of file acme_client.h.

◆ errorType

ACME error type.

Definition at line 597 of file acme_client.h.

◆ httpClientContext

HttpClientContext httpClientContext

HTTP client context.

Definition at line 573 of file acme_client.h.

◆ identifiers

Array of identifiers objects.

Definition at line 586 of file acme_client.h.

◆ index

uint_t index

Current index.

Definition at line 590 of file acme_client.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 569 of file acme_client.h.

◆ nonce

Value of the Replay-Nonce header field.

Definition at line 581 of file acme_client.h.

◆ numAuthorizations

uint_t numAuthorizations

Number of authorizations.

Definition at line 587 of file acme_client.h.

◆ numChallenges

uint_t numChallenges

Number of challenges.

Definition at line 589 of file acme_client.h.

◆ numIdentifiers

uint_t numIdentifiers

Number of identifiers.

Definition at line 585 of file acme_client.h.

◆ order

AcmeOrder order

Order object.

Definition at line 584 of file acme_client.h.

◆ prngAlgo

const PrngAlgo* prngAlgo

Pseudo-random number generator to be used.

Definition at line 571 of file acme_client.h.

◆ prngContext

void* prngContext

Pseudo-random number generator context.

Definition at line 572 of file acme_client.h.

◆ requestState

AcmeRequestState requestState

HTTP request state.

Definition at line 568 of file acme_client.h.

◆ serverName

Host name of the ACME server.

Definition at line 578 of file acme_client.h.

◆ serverPort

uint16_t serverPort

TCP port number.

Definition at line 579 of file acme_client.h.

◆ state

ACME client state.

Definition at line 567 of file acme_client.h.

◆ statusCode

uint_t statusCode

HTTP status code.

Definition at line 595 of file acme_client.h.

◆ timeout

systime_t timeout

Timeout value.

Definition at line 570 of file acme_client.h.

◆ tlsInitCallback

AcmeClientTlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 574 of file acme_client.h.


The documentation for this struct was generated from the following file: