NetBurner 3.5.6
PDF Version
AcmeServletObject Class Reference

Main ACME Client Class. More...

#include <acmeRFC8555Servlet.h>

Inherits DiagItemClass, and WebClientServlet.

Inherited by BuyPassAcmeServletObject, and LetsEncryptAcmeServletObject.

Public Member Functions

void Delete_Everything_Restart ()
 Re-request the ACME certificate.
 
void SetDiag (bool v)
 Turn on diganostic printf messages to the console.
 
NBString GetGlobalStateString ()
 Returns the detailed state of the ACME process.
 
NBString GetStateString ()
 Returns the specific state condition of the acmeservlet.
 
const char * GetStateCC ()
 Returns the specific state condition of the acmeservlet.
 
 AcmeServletObject (const char *pUrlDir)
 ACME Client Constructor.
 

Friends

CertGenDataGetDataForCertGen ()
 A function to be overridden to pass certificate details to the certificate generator.
 

Detailed Description

Main ACME Client Class.

Constructor & Destructor Documentation

◆ AcmeServletObject()

AcmeServletObject::AcmeServletObject ( const char * pUrlDir)
inline

ACME Client Constructor.

Parameters
pUrlDirURL for the ACME API directory endpoint (required, i.e. https://acme.example.com/dir)

Member Function Documentation

◆ Delete_Everything_Restart()

void AcmeServletObject::Delete_Everything_Restart ( )

Re-request the ACME certificate.

Once the system has loaded valid keys and certificate It sleeps and does not do much. If you want to change the names, or want to re-run the ACME protocol for debugging/diagnostic purposes, this function erases all keys, the certificate, and restarts the certificate issuing process.

◆ GetStateCC()

const char * AcmeServletObject::GetStateCC ( )

Returns the specific state condition of the acmeservlet.

Friends And Related Symbol Documentation

◆ GetDataForCertGen

CertGenData * GetDataForCertGen ( )
friend

A function to be overridden to pass certificate details to the certificate generator.

The library provides this function as a weak reference. The values returned by this weak reference are likely wrong for any real application and the user should provide their own function. Applicable for both self signed and ACME certificates generated onboard.

Returns
pointer to a CertGenData struct

The documentation for this class was generated from the following file: