_ScepClientContext Struct Reference

SCEP client context. More...

#include <scep_client.h>

Data Fields

ScepClientState state
 SCEP client state. More...
 
ScepRequestState 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...
 
ScepClientTlsInitCallback tlsInitCallback
 TLS initialization callback function. More...
 
ScepClientCaCertVerifyCallback caCertVerifyCallback
 CA certificate verification callback function. More...
 
ScepClientCsrGenCallback csrGenCallback
 CSR generation callback function. More...
 
ScepClientSelfSignedCertGenCallback selfSignedCertGenCallback
 Self-signed certificate generation callback function. More...
 
char_t serverName [SCEP_CLIENT_MAX_HOST_LEN+1]
 Host name of the SCEP server. More...
 
uint16_t serverPort
 TCP port number. More...
 
char_t uri [SCEP_CLIENT_MAX_URI_LEN+1]
 URI. More...
 
X509KeyType keyType
 Public key type. More...
 
RsaPublicKey rsaPublicKey
 RSA public key. More...
 
RsaPrivateKey rsaPrivateKey
 RSA private key. More...
 
uint8_t csr [SCEP_CLIENT_MAX_CSR_LEN]
 CSR. More...
 
size_t csrLen
 Length of the CSR, in bytes. More...
 
uint8_t cert [SCEP_CLIENT_MAX_CERT_LEN]
 Client's certificate. More...
 
size_t certLen
 Length of the client's certificate, in bytes. More...
 
uint8_t caCert [SCEP_CLIENT_MAX_CA_CERT_LEN]
 CA certificate chain. More...
 
size_t caCertLen
 Length of the CA certificate chain, in bytes. More...
 
uint_t caCaps
 CA capabilities. More...
 
char_t transactionId [SCEP_CLIENT_TRANSACTION_ID_SIZE *2+1]
 Transaction identifier. More...
 
uint8_t senderNonce [SCEP_NONCE_SIZE]
 Sender nonce. More...
 
uint8_t buffer [SCEP_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...
 
uint_t statusCode
 HTTP status code. More...
 
char_t contentType [SCEP_CLIENT_MAX_CONTENT_TYPE_LEN+1]
 Content type of the response. More...
 
uint_t failInfo
 Failure reason. More...
 

Detailed Description

SCEP client context.

Definition at line 254 of file scep_client.h.

Field Documentation

◆ buffer

uint8_t buffer[SCEP_CLIENT_BUFFER_SIZE]

Memory buffer for input/output operations.

Definition at line 286 of file scep_client.h.

◆ bufferLen

size_t bufferLen

Length of the buffer, in bytes.

Definition at line 287 of file scep_client.h.

◆ bufferPos

size_t bufferPos

Current position in the buffer.

Definition at line 288 of file scep_client.h.

◆ caCaps

uint_t caCaps

CA capabilities.

Definition at line 283 of file scep_client.h.

◆ caCert

uint8_t caCert[SCEP_CLIENT_MAX_CA_CERT_LEN]

CA certificate chain.

Definition at line 281 of file scep_client.h.

◆ caCertLen

size_t caCertLen

Length of the CA certificate chain, in bytes.

Definition at line 282 of file scep_client.h.

◆ caCertVerifyCallback

ScepClientCaCertVerifyCallback caCertVerifyCallback

CA certificate verification callback function.

Definition at line 266 of file scep_client.h.

◆ cert

uint8_t cert[SCEP_CLIENT_MAX_CERT_LEN]

Client's certificate.

Definition at line 279 of file scep_client.h.

◆ certLen

size_t certLen

Length of the client's certificate, in bytes.

Definition at line 280 of file scep_client.h.

◆ contentType

Content type of the response.

Definition at line 290 of file scep_client.h.

◆ csr

CSR.

Definition at line 277 of file scep_client.h.

◆ csrGenCallback

ScepClientCsrGenCallback csrGenCallback

CSR generation callback function.

Definition at line 267 of file scep_client.h.

◆ csrLen

size_t csrLen

Length of the CSR, in bytes.

Definition at line 278 of file scep_client.h.

◆ failInfo

uint_t failInfo

Failure reason.

Definition at line 291 of file scep_client.h.

◆ httpClientContext

HttpClientContext httpClientContext

HTTP client context.

Definition at line 262 of file scep_client.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 258 of file scep_client.h.

◆ keyType

X509KeyType keyType

Public key type.

Definition at line 272 of file scep_client.h.

◆ prngAlgo

const PrngAlgo* prngAlgo

Pseudo-random number generator to be used.

Definition at line 260 of file scep_client.h.

◆ prngContext

void* prngContext

Pseudo-random number generator context.

Definition at line 261 of file scep_client.h.

◆ requestState

ScepRequestState requestState

HTTP request state.

Definition at line 257 of file scep_client.h.

◆ rsaPrivateKey

RsaPrivateKey rsaPrivateKey

RSA private key.

Definition at line 275 of file scep_client.h.

◆ rsaPublicKey

RsaPublicKey rsaPublicKey

RSA public key.

Definition at line 274 of file scep_client.h.

◆ selfSignedCertGenCallback

ScepClientSelfSignedCertGenCallback selfSignedCertGenCallback

Self-signed certificate generation callback function.

Definition at line 268 of file scep_client.h.

◆ senderNonce

uint8_t senderNonce[SCEP_NONCE_SIZE]

Sender nonce.

Definition at line 285 of file scep_client.h.

◆ serverName

Host name of the SCEP server.

Definition at line 269 of file scep_client.h.

◆ serverPort

uint16_t serverPort

TCP port number.

Definition at line 270 of file scep_client.h.

◆ state

SCEP client state.

Definition at line 256 of file scep_client.h.

◆ statusCode

uint_t statusCode

HTTP status code.

Definition at line 289 of file scep_client.h.

◆ timeout

systime_t timeout

Timeout value.

Definition at line 259 of file scep_client.h.

◆ tlsInitCallback

ScepClientTlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 264 of file scep_client.h.

◆ transactionId

Transaction identifier.

Definition at line 284 of file scep_client.h.

◆ uri

URI.

Definition at line 271 of file scep_client.h.


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