File SolidSyslogWolfSslPemBufferCredentials.h¶
FileList > Interface > SolidSyslogWolfSslPemBufferCredentials.h
#include <stddef.h>#include "SolidSyslogExternC.h"
Classes¶
| Type | Name |
|---|---|
| struct | SolidSyslogWolfSslPemBuffer A PEM buffer: one or more PEM blocks, as the file would hold them. |
| struct | SolidSyslogWolfSslPemBufferCredentialsConfig Where this backend's material lives. |
Detailed Description¶
The wolfSSL credentials backend that loads PEM from caller-owned buffers: trust anchors, an optional client credential for mutual TLS, and the pinned peer fingerprints the stream reads.
Nothing is parsed at Create - each buffer is handed to wolfSSL at the stream's Open, onto the context built for that connection, and freed with it at Close. So the backend holds no material of its own between connections, a change to a buffer's contents applies on the next connection once the stream's Version moves, and one instance can serve several streams at once.
Public Functions Documentation¶
SolidSyslogWolfSslPemBufferCredentials_Create¶
Draw a credentials instance from the pool.
struct SolidSyslogWolfSslCredentials * SolidSyslogWolfSslPemBufferCredentials_Create (
const struct SolidSyslogWolfSslPemBufferCredentialsConfig * config
)
A NULL config is reported and falls back to the shared Null credentials, as does an exhausted pool.
SolidSyslogWolfSslPemBufferCredentials_Destroy¶
Release the pool slot.
The documentation for this class was generated from the following file Platform/WolfSsl/Interface/SolidSyslogWolfSslPemBufferCredentials.h