11 #ifndef _SMING_CORE_NETWORK_SSL_SSL_SESSION_ID_H_ 12 #define _SMING_CORE_NETWORK_SSL_SSL_SESSION_ID_H_ 25 return this ?
reinterpret_cast<const uint8_t*
>(value.c_str()) :
nullptr;
31 return this ? value.length() : 0;
39 bool assign(
const uint8_t* newValue,
unsigned newLength)
44 memcpy(value.begin(), newValue, newLength);
bool setLength(unsigned int length)
set the string length accordingly, expanding if necessary
The string class.
Definition: WString.h:104
unsigned getLength()
May be called even when object is null.
Definition: SslSessionId.h:29
const uint8_t * getValue()
May be called even when object is null.
Definition: SslSessionId.h:23
Manages buffer to store SSL Session ID.
Definition: SslSessionId.h:19