View displayed while updating the certificates.
More...
#include <UpdateCertificatesView.h>
View displayed while updating the certificates.
◆ UpdateCertificatesView() [1/3]
views::UpdateCertificatesView::UpdateCertificatesView |
( |
LiquidCrystal_PCF8574 * |
display, |
|
|
WiFiClientSecure & |
sslClient, |
|
|
BearSSL::CertStore & |
certStore |
|
) |
| |
|
inline |
Construct a vie object.
- Parameters
-
display | pointer to the LCD instance |
sslClient | reference of the ssl client used for the communication |
certStore | reference of the certificate store |
◆ UpdateCertificatesView() [2/3]
Copy constructor - not available.
◆ UpdateCertificatesView() [3/3]
Move constructor - not available.
◆ activate()
virtual void views::UpdateCertificatesView::activate |
( |
| ) |
|
|
inlineprotectedvirtual |
called as soon as the view becomes active
◆ begin()
int views::UpdateCertificatesView::begin |
( |
| ) |
|
|
inline |
◆ convertCertificate()
bool views::UpdateCertificatesView::convertCertificate |
( |
File & |
certsCsv, |
|
|
File & |
certsAr |
|
) |
| |
|
inlineprotected |
◆ downloadCertificatesAsCsv()
bool views::UpdateCertificatesView::downloadCertificatesAsCsv |
( |
| ) |
|
|
inlineprotected |
◆ goToStartOfNextCertificate()
bool views::UpdateCertificatesView::goToStartOfNextCertificate |
( |
File & |
certsCsv | ) |
|
|
inlineprotected |
◆ initializeConnection()
bool views::UpdateCertificatesView::initializeConnection |
( |
const String & |
host, |
|
|
const String & |
url |
|
) |
| |
|
inlineprotected |
◆ tick()
virtual void views::UpdateCertificatesView::tick |
( |
const bool & |
forceRedraw | ) |
|
|
inlinevirtual |
called during the loop function
- Parameters
-
forceRedraw | if true everything should be redrawn |
◆ waitAnimation()
void views::UpdateCertificatesView::waitAnimation |
( |
std::function< bool()> |
stillActive | ) |
|
|
inlineprotected |
Shows the animation while waiting until the callback returns false.
- Parameters
-
stillActive | callback function checking if the animation should be shown |
◆ certificateCounter
uint16_t views::UpdateCertificatesView::certificateCounter = 0 |
|
protected |
◆ certStore
BearSSL::CertStore views::UpdateCertificatesView::certStore |
|
protected |
Reference of the certificate store.
◆ lastErrorMessage
String views::UpdateCertificatesView::lastErrorMessage |
|
protected |
◆ numberOfLoadedCertificates
int views::UpdateCertificatesView::numberOfLoadedCertificates |
|
protected |
◆ sslClient
WiFiClientSecure& views::UpdateCertificatesView::sslClient |
|
protected |
Reference of the ssl client used for the communication.
The documentation for this class was generated from the following file: