Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
EstClient Class Reference
EstClient This class is an interface towards the EST service and is used to enroll certificates using a CSR. More...
#include <EstClient.h>
Public Member Functions | |
EstClient (ConnectorClient &connector_client) | |
Constructor. | |
~EstClient () | |
Destructor. | |
est_status_e | est_request_enrollment (const char *cert_name, const size_t cert_name_length, uint8_t *csr, const size_t csr_length, est_enrollment_result_cb result_cb, void *context) const |
Request certificate enrollment from the EST service. |
Detailed Description
EstClient This class is an interface towards the EST service and is used to enroll certificates using a CSR.
Definition at line 35 of file EstClient.h.
Constructor & Destructor Documentation
EstClient | ( | ConnectorClient & | connector_client ) |
Constructor.
Definition at line 44 of file EstClient.cpp.
~EstClient | ( | ) |
Destructor.
Definition at line 51 of file EstClient.cpp.
Member Function Documentation
est_status_e est_request_enrollment | ( | const char * | cert_name, |
const size_t | cert_name_length, | ||
uint8_t * | csr, | ||
const size_t | csr_length, | ||
est_enrollment_result_cb | result_cb, | ||
void * | context | ||
) | const |
Request certificate enrollment from the EST service.
- Parameters:
-
cert_name,The name of certificate to enroll. Null enrolls a LwM2M certificate. cert_name_length,The length of cert_name buffer. csr_length,The length of the certificate signing request within csr buffer. csr,A buffer containing the certificate signing request. result_cb,The callback function that is called when EST enrollment has completed. context,The user context that is passed to the result_cb callback.
Definition at line 55 of file EstClient.cpp.
Generated on Mon Aug 29 2022 19:53:43 by
