_EstClientContext Struct Reference

EST client context. More...

#include <est_client.h>

Data Fields

EstClientState state
 EST client state. More...
 
EstRequestState 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...
 
EstClientTlsInitCallback tlsInitCallback
 TLS initialization callback function. More...
 
EstClientCsrGenCallback csrGenCallback
 CSR generation callback function. More...
 
char_t serverName [EST_CLIENT_MAX_HOST_LEN+1]
 Host name of the EST server. More...
 
uint16_t serverPort
 TCP port number. More...
 
char_t pathPrefix [EST_CLIENT_MAX_URI_LEN+1]
 Path prefix. More...
 
X509KeyType keyType
 Public key type. More...
 
RsaPublicKey rsaPublicKey
 RSA public key. More...
 
RsaPrivateKey rsaPrivateKey
 RSA private key. More...
 
EcPublicKey ecPublicKey
 EC public key. More...
 
EcPrivateKey ecPrivateKey
 EC private key. More...
 
uint8_t csr [EST_CLIENT_MAX_CSR_LEN]
 CSR. More...
 
size_t csrLen
 Length of the CSR, in bytes. More...
 
uint8_t cert [EST_CLIENT_MAX_CERT_LEN]
 Client's certificate. More...
 
size_t certLen
 Length of the client's certificate, in bytes. More...
 
char_t caCerts [EST_CLIENT_MAX_CA_CERTS_LEN]
 CA certificates. More...
 
size_t caCertsLen
 Length of the CA certificates, in bytes. More...
 
uint8_t buffer [EST_CLIENT_BUFFER_SIZE]
 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...
 
bool_t useExplicitTa
 Use of explicit TA database. More...
 
uint_t allowedAuthModes
 Allowed HTTP authentication modes. More...
 
HttpAuthMode selectedAuthMode
 Selected HTTP authentication mode. More...
 
uint_t statusCode
 HTTP status code. More...
 
char_t contentType [EST_CLIENT_MAX_CONTENT_TYPE_LEN+1]
 Content type of the response. More...
 

Detailed Description

EST client context.

Definition at line 223 of file est_client.h.

Field Documentation

◆ allowedAuthModes

uint_t allowedAuthModes

Allowed HTTP authentication modes.

Definition at line 256 of file est_client.h.

◆ buffer

uint8_t buffer[EST_CLIENT_BUFFER_SIZE]

Memory buffer for input/output operations.

Definition at line 252 of file est_client.h.

◆ bufferLen

size_t bufferLen

Length of the buffer, in bytes.

Definition at line 253 of file est_client.h.

◆ bufferPos

size_t bufferPos

Current position in the buffer.

Definition at line 254 of file est_client.h.

◆ caCerts

CA certificates.

Definition at line 250 of file est_client.h.

◆ caCertsLen

size_t caCertsLen

Length of the CA certificates, in bytes.

Definition at line 251 of file est_client.h.

◆ cert

uint8_t cert[EST_CLIENT_MAX_CERT_LEN]

Client's certificate.

Definition at line 248 of file est_client.h.

◆ certLen

size_t certLen

Length of the client's certificate, in bytes.

Definition at line 249 of file est_client.h.

◆ contentType

Content type of the response.

Definition at line 259 of file est_client.h.

◆ csr

uint8_t csr[EST_CLIENT_MAX_CSR_LEN]

CSR.

Definition at line 246 of file est_client.h.

◆ csrGenCallback

EstClientCsrGenCallback csrGenCallback

CSR generation callback function.

Definition at line 233 of file est_client.h.

◆ csrLen

size_t csrLen

Length of the CSR, in bytes.

Definition at line 247 of file est_client.h.

◆ ecPrivateKey

EcPrivateKey ecPrivateKey

EC private key.

Definition at line 244 of file est_client.h.

◆ ecPublicKey

EcPublicKey ecPublicKey

EC public key.

Definition at line 243 of file est_client.h.

◆ httpClientContext

HttpClientContext httpClientContext

HTTP client context.

Definition at line 231 of file est_client.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 227 of file est_client.h.

◆ keyType

X509KeyType keyType

Public key type.

Definition at line 237 of file est_client.h.

◆ pathPrefix

Path prefix.

Definition at line 236 of file est_client.h.

◆ prngAlgo

const PrngAlgo* prngAlgo

Pseudo-random number generator to be used.

Definition at line 229 of file est_client.h.

◆ prngContext

void* prngContext

Pseudo-random number generator context.

Definition at line 230 of file est_client.h.

◆ requestState

EstRequestState requestState

HTTP request state.

Definition at line 226 of file est_client.h.

◆ rsaPrivateKey

RsaPrivateKey rsaPrivateKey

RSA private key.

Definition at line 240 of file est_client.h.

◆ rsaPublicKey

RsaPublicKey rsaPublicKey

RSA public key.

Definition at line 239 of file est_client.h.

◆ selectedAuthMode

HttpAuthMode selectedAuthMode

Selected HTTP authentication mode.

Definition at line 257 of file est_client.h.

◆ serverName

Host name of the EST server.

Definition at line 234 of file est_client.h.

◆ serverPort

uint16_t serverPort

TCP port number.

Definition at line 235 of file est_client.h.

◆ state

EST client state.

Definition at line 225 of file est_client.h.

◆ statusCode

uint_t statusCode

HTTP status code.

Definition at line 258 of file est_client.h.

◆ timeout

systime_t timeout

Timeout value.

Definition at line 228 of file est_client.h.

◆ tlsInitCallback

EstClientTlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 232 of file est_client.h.

◆ useExplicitTa

bool_t useExplicitTa

Use of explicit TA database.

Definition at line 255 of file est_client.h.


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