Skip to content

wolfSSL platform

Struct SolidSyslogWolfSslPemBuffer

ClassList > SolidSyslogWolfSslPemBuffer

  • #include <SolidSyslogWolfSslPemBufferCredentials.h>
struct SolidSyslogWolfSslPemBuffer
{
    const unsigned char* Bytes;
    size_t Length;
};

Detailed Description

A PEM buffer: one or more PEM blocks, as the file would hold them.

The caller owns the storage, and it must outlive the connections made with it - it is read at each Open, not copied.

Public Attributes Documentation

Bytes

The PEM text.

const unsigned char* SolidSyslogWolfSslPemBuffer::Bytes;

NULL means not supplied.


Length

How many bytes of Bytes are the PEM.

size_t SolidSyslogWolfSslPemBuffer::Length;

wolfSSL reads exactly this extent, so no terminator is required; one may follow, and is not counted. A supplied buffer with a length of zero holds nothing to parse, and is reported as such rather than read as not supplied.



The documentation for this class was generated from the following file Platform/WolfSsl/Interface/SolidSyslogWolfSslPemBufferCredentials.h