Skip to content

Mbed TLS platform

«interface»SolidSyslogMbedTlsCredentialsMbedTlsHandleCredentialsMbedTls

File SolidSyslogMbedTlsHandleCredentials.h

FileList > Interface > SolidSyslogMbedTlsHandleCredentials.h

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

Classes

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

Detailed Description

An Mbed TLS credentials backend that carries caller-built, caller-owned mbedTLS handles.

The integrator parses its own PEM, unwraps its own key, or fetches material from wherever it lives, and hands the resulting handles here; this library parses nothing and owns nothing.

The handles must outlive the credentials, because every connection installs the same ones. A backend that acquires material per connection - one parsing a PEM buffer on demand, or reaching a secure element - is a different implementation of the same role.

Public Functions Documentation

SolidSyslogMbedTlsHandleCredentials_Create

Draw a credentials instance from the pool.

struct SolidSyslogMbedTlsCredentials * SolidSyslogMbedTlsHandleCredentials_Create (
    const struct SolidSyslogMbedTlsHandleCredentialsConfig * config
) 

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


SolidSyslogMbedTlsHandleCredentials_Destroy

Release the pool slot.

void SolidSyslogMbedTlsHandleCredentials_Destroy (
    struct SolidSyslogMbedTlsCredentials * base
) 



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