Skip to content

wolfSSL platform

Struct SolidSyslogWolfSslProfile

ClassList > SolidSyslogWolfSslProfile

  • #include <SolidSyslogWolfSslStream.h>
struct SolidSyslogWolfSslProfile
{
    const char* ServerName;
    const char* CipherList;
};

Detailed Description

What one connection is made with, supplied by the integrator at each Open.

The stream zeroes this before asking, so a field left alone is one the integrator has no policy on and the library's own default stands. Anything supplied must stay valid until the connection closes.

Public Attributes Documentation

CipherList

Ciphersuite policy, as wolfSSL takes it: names separated by colons, each in wolfSSL's own spelling ( ECDHE-RSA-AES128-GCM-SHA256 ,TLS13-AES128-GCM-SHA256 ) or the IANA one.

const char* SolidSyslogWolfSslProfile::CipherList;

One list covers both TLS versions, so a policy for a collector that may negotiate either names a suite for each - a build with OPENSSL_EXTRA keeps the suites of a version the list leaves unnamed. NULL leaves every ciphersuite the build enables. wolfSSL keeps a name it knows and drops one it does not without saying so; a list in which it knows no name is rejected, and that rejection fails the connection at Open as CIPHER_POLICY_REJECTED. Groups and signature algorithms are not selectable through it.


ServerName

SNI + peer-identity check.

const char* SolidSyslogWolfSslProfile::ServerName;

A non-empty name is verified against the peer certificate (SAN, then Common Name where the certificate carries no dNSName) and sent as the server name indication. One that parses as an address literal is verified against an iPAddress SAN where wolfSSL was built with WOLFSSL_IP_ALT_NAME; without that flag the library matches it as a DNS name, which an iPAddress entry never satisfies, and the peer is refused as PEER_NAME_MISMATCHED. NULL declares no name: the peer is only chain-authenticated and a WARNING says so (MITM-class) - unless the credentials pin it, which declares its identity more strongly than a name, and nothing is reported. "" is the no-name-check opt-out (closed network / private CA): the peer must still satisfy whatever the credentials installed, but the endpoint identity is not checked; no diagnostic.



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