KeyCertPair.h
Go to the documentation of this file.
57 return (key == keyCert.key) && (keyPassword == keyCert.keyPassword) && (certificate == keyCert.certificate);
Class to manage an SSL key certificate with optional password.
Definition: KeyCertPair.h:21
bool assign(const uint8_t *newKey, unsigned newKeyLength, const uint8_t *newCertificate, unsigned newCertificateLength, const char *newKeyPassword=nullptr)
Create certificate using provided values.
bool assign(const KeyCertPair &keyCert)
Assign another certificate to this structure.
Definition: KeyCertPair.h:54
unsigned getCertificateLength() const
Definition: KeyCertPair.h:87
bool assign(String newKey, String newCertificate, const char *newKeyPassword=nullptr)
Definition: KeyCertPair.h:41
const char * c_str() const
Get a constant (un-modifiable) pointer to String content.
Definition: WString.h:616
size_t length(void) const
Obtain the String length in characters, excluding NUL terminator.
Definition: WString.h:243
Definition: Alert.h:16