Skip to content

OpenSSL platform

«interface»SolidSyslogOpenSslCredentialsOpenSslPemFileCredentialsOpenSsl

File SolidSyslogOpenSslPemFileCredentials.h

FileList > Interface > SolidSyslogOpenSslPemFileCredentials.h

  • #include <stddef.h>
  • #include "SolidSyslogExternC.h"

Classes

Type Name
struct SolidSyslogOpenSslPemFileCredentialsConfig
Where this backend's material lives.

Detailed Description

An OpenSSL credentials backend that names its material by file path, and hands those paths to OpenSSL to open and parse.

This library performs no file handling of its own: it neither opens, reads, parses nor buffers the PEM, so key bytes never pass through it.

Paths are re-read on every connection, so a device issued new credentials while it is running uses them on its next connect without a restart.

Public Functions Documentation

SolidSyslogOpenSslPemFileCredentials_Create

Draw a credentials instance from the pool.

struct SolidSyslogOpenSslCredentials * SolidSyslogOpenSslPemFileCredentials_Create (
    const struct SolidSyslogOpenSslPemFileCredentialsConfig * config
) 

A NULL config is reported and falls back to the shared Null credentials, as does an exhausted pool.


SolidSyslogOpenSslPemFileCredentials_Destroy

Release the pool slot.

void SolidSyslogOpenSslPemFileCredentials_Destroy (
    struct SolidSyslogOpenSslCredentials * base
) 



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