![]() |
MHEG5
22.11.0
|
Functions relating to TLS certificate store. More...
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "mh5profile.h"
#include "mh5tls.h"
#include "mh5memory.h"
#include "http_interface.h"
#include "mh5fileorm.h"
#include "stb_os.h"
Macros | |
#define | TLS_CERT_TIMEOUT (24 * 60 * 60 * 1000) |
#define | MAX_TLS_CERT_NAME (22) |
#define | MAX_CALLBACKS (5) |
#define | PRINT(x) |
Enumerations | |
enum | TlsCertRefreshState { TLS_CERT_STATE_SYNC, TLS_CERT_STATE_ASYNC, TLS_CERT_STATE_VALID, TLS_CERT_STATE_INVALID } |
Functions | |
void | MHEG5ClearTlsCertStore (void) |
Clear the TLS certificate store. More... | |
void | MHEG5InvalidateTlsCertStore (void) |
Invalidate the TLS certificate store. More... | |
U32BIT | MHEG5GetTlsCertStoreCount (void) |
Return number of TLS certificates in the TLS certificate store. More... | |
MHEG5TlsCertRequestStatus | MHEG5GetNextTlsCertificate (void) |
Issues a request to load the next TLS certificate from the DSM-CC object carousel. More... | |
void | MHEG5AddTlsCertificateCallback (void(*loadCallback)(void)) |
Add a callback function to be called when pending requests are resolved. More... | |
Functions relating to TLS certificate store.
void MHEG5AddTlsCertificateCallback | ( | void(*)(void) | loadCallback | ) |
Add a callback function to be called when pending requests are resolved.
loadCallback | Callback function to be called when pending requests are resolved |
void MHEG5ClearTlsCertStore | ( | void | ) |
Clear the TLS certificate store.
callback | Callback function to be called when pending requests are resolved |
MHEG5TlsCertRequestStatus MHEG5GetNextTlsCertificate | ( | void | ) |
Issues a request to load the next TLS certificate from the DSM-CC object carousel.
U32BIT MHEG5GetTlsCertStoreCount | ( | void | ) |
Return number of TLS certificates in the TLS certificate store.
void MHEG5InvalidateTlsCertStore | ( | void | ) |
Invalidate the TLS certificate store.