Skip to content

wolfSSL platform

«interface»SolidSyslogWolfSslCredentialsWolfSslPemBufferCredentialsWolfSsl

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 and an optional client credential for mutual TLS.

It carries no pinned peer fingerprints, because this stream does not yet enforce a pin and a pin that is configured must never be quietly ignored; a pinning source arrives with the enforcement. 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.

void SolidSyslogWolfSslPemBufferCredentials_Destroy (
    struct SolidSyslogWolfSslCredentials * base
) 



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