Struct SolidSyslogMbedTlsPemBuffer¶
ClassList > SolidSyslogMbedTlsPemBuffer
#include <SolidSyslogMbedTlsPemBufferCredentials.h>
Detailed Description¶
PEM text and its extent.
Borrowed - the caller owns the bytes and must keep them valid for the lifetime of the credentials.
Public Attributes Documentation¶
Bytes¶
PEM text; NULL means this piece of material is not supplied.
Length¶
Length of Bytes including the terminating NUL, which is the length Mbed TLS's own parsers require of PEM - sostrlen(pem) + 1 .
Getting this wrong is reported rather than left to surface as a parse failure: Mbed TLS reads a certificate buffer whose last byte is not NUL as DER instead, which fails as "not a certificate" and says nothing about the length.
The documentation for this class was generated from the following file Platform/MbedTls/Interface/SolidSyslogMbedTlsPemBufferCredentials.h