OCSP client context. More...
#include <ocsp_client.h>
Data Fields | |
| OcspClientState | state |
| OCSP client state. More... | |
| NetInterface * | interface |
| Underlying network interface. More... | |
| systime_t | timeout |
| Timeout value. More... | |
| const PrngAlgo * | prngAlgo |
| Pseudo-random number generator to be used. More... | |
| void * | prngContext |
| Pseudo-random number generator context. More... | |
| HttpClientContext | httpClientContext |
| HTTP client context. More... | |
| OcspClientTlsInitCallback | tlsInitCallback |
| TLS initialization callback function. More... | |
| char_t | serverName [OCSP_CLIENT_MAX_HOST_LEN+1] |
| Host name of the OCSP server. More... | |
| uint16_t | serverPort |
| TCP port number. More... | |
| char_t | uri [OCSP_CLIENT_MAX_URI_LEN+1] |
| URI. More... | |
| uint8_t | nonce [OCSP_CLIENT_NONCE_SIZE] |
| Random nonce. More... | |
| size_t | nonceLen |
| Length of the nonce, in bytes. More... | |
| uint8_t | buffer [OCSP_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 | httpStatusCode |
| HTTP status code. More... | |
| OcspResponse | ocspResponse |
| OCSP response. More... | |
Detailed Description
OCSP client context.
Definition at line 142 of file ocsp_client.h.
Field Documentation
◆ buffer
| uint8_t buffer[OCSP_CLIENT_BUFFER_SIZE] |
Memory buffer for input/output operations.
Definition at line 158 of file ocsp_client.h.
◆ bufferLen
| size_t bufferLen |
Length of the buffer, in bytes.
Definition at line 159 of file ocsp_client.h.
◆ bufferPos
| size_t bufferPos |
Current position in the buffer.
Definition at line 160 of file ocsp_client.h.
◆ httpClientContext
| HttpClientContext httpClientContext |
HTTP client context.
Definition at line 149 of file ocsp_client.h.
◆ httpStatusCode
| uint_t httpStatusCode |
HTTP status code.
Definition at line 161 of file ocsp_client.h.
◆ interface
| NetInterface* interface |
Underlying network interface.
Definition at line 145 of file ocsp_client.h.
◆ nonce
| uint8_t nonce[OCSP_CLIENT_NONCE_SIZE] |
Random nonce.
Definition at line 156 of file ocsp_client.h.
◆ nonceLen
| size_t nonceLen |
Length of the nonce, in bytes.
Definition at line 157 of file ocsp_client.h.
◆ ocspResponse
| OcspResponse ocspResponse |
OCSP response.
Definition at line 162 of file ocsp_client.h.
◆ prngAlgo
| const PrngAlgo* prngAlgo |
Pseudo-random number generator to be used.
Definition at line 147 of file ocsp_client.h.
◆ prngContext
| void* prngContext |
Pseudo-random number generator context.
Definition at line 148 of file ocsp_client.h.
◆ serverName
| char_t serverName[OCSP_CLIENT_MAX_HOST_LEN+1] |
Host name of the OCSP server.
Definition at line 153 of file ocsp_client.h.
◆ serverPort
| uint16_t serverPort |
TCP port number.
Definition at line 154 of file ocsp_client.h.
◆ state
| OcspClientState state |
OCSP client state.
Definition at line 144 of file ocsp_client.h.
◆ timeout
| systime_t timeout |
Timeout value.
Definition at line 146 of file ocsp_client.h.
◆ tlsInitCallback
| OcspClientTlsInitCallback tlsInitCallback |
TLS initialization callback function.
Definition at line 151 of file ocsp_client.h.
◆ uri
| char_t uri[OCSP_CLIENT_MAX_URI_LEN+1] |
URI.
Definition at line 155 of file ocsp_client.h.
The documentation for this struct was generated from the following file:
- cyclone_crypto/ocsp/ocsp_client.h
