NetBurner 3.5.0
PDF Version |
|
Onboard Self-Signed Certificate Generation. More...
#include <predef.h>
#include <nettypes.h>
#include <nbstring.h>
#include <crypto/ssl.h>
#include <crypto/wolfssl/wolfcrypt/ecc.h>
#include <random.h>
#include <config_obj.h>
Go to the source code of this file.
Classes | |
struct | CertGenData |
Used to store the information that is passed in when enabling onboard generated certificates, as well as the information needed to determine when they need to be regenerated. More... | |
class | CertData |
Functions | |
CertGenReturnCode | SSL_CreateNewSelfSignedCert (CertGenData &pGenData) |
Generates a new self-signed certificate that will be stored on the device. | |
void | EnableOnboardCertificateCreation (CertGenReturnCode(*createCertFunc)(CertGenData &cGenData)=SSL_CreateNewSelfSignedCert) |
Enables the ability for the module to automatically generate self-signed certificates for use in SSL/TLS connections when acting as the server. | |
void | FillInAltNamesASN1 (Cert &TheCert, NBString &altNameString) |
Helper function used to build ASN1 representation of alt names. | |
CertGenReturnCode | CheckAndCreateHalCertAndKey () |
Check for a valid SSL certificate and generate one if not found. | |
CertGenData * | GetDataForCertGen () |
A function to be overridden to pass certificate details to the certificate generator. | |
Onboard Self-Signed Certificate Generation.