![]() |
BSB Developer Docs
|
Certificate Authority (CA) storage API. More...
#include <mbedtls/x509_crt.h>Go to the source code of this file.
Macros | |
| #define | RECORD_CA_STORAGE "ca_storage" |
| The string key for CaStorage instance access. | |
Typedefs | |
| typedef struct CaStorage | CaStorage |
Functions | |
| const mbedtls_x509_crt * | ca_storage_get_cert_chain (const CaStorage *instance) |
| Get the parsed CA certificate chain in MbedTLS format. | |
Certificate Authority (CA) storage API.
On startup, the CA certificate bundle is loaded and converted to the internal MbedTLS representation. After that, it can be reused for all TLS connections, thus reducing the memory and CPU overhead.
| #define RECORD_CA_STORAGE "ca_storage" |
The string key for CaStorage instance access.
Get the instance pointer by calling furi_record_open(RECORD_CA_STORAGE);
| const mbedtls_x509_crt * ca_storage_get_cert_chain | ( | const CaStorage * | instance | ) |
Get the parsed CA certificate chain in MbedTLS format.
The return value is guaranteed to always be valid and non-NULL.
| [in] | instance | pointer to the CA Storage instance |