Struct SolidSyslogWolfSslPemBufferCredentialsConfig¶
ClassList > SolidSyslogWolfSslPemBufferCredentialsConfig
Where this backend's material lives.
#include <SolidSyslogWolfSslPemBufferCredentials.h>
struct SolidSyslogWolfSslPemBufferCredentialsConfig
{
struct SolidSyslogWolfSslPemBuffer CaPem;
struct SolidSyslogWolfSslPemBuffer ClientCertPem;
struct SolidSyslogWolfSslPemBuffer ClientKeyPem;
const char* const * PeerFingerprints;
size_t PeerFingerprintCount;
};
Public Attributes Documentation¶
CaPem¶
Trust anchors the peer certificate must chain to; an unsupplied buffer installs none, which leaves the peer authorised only by a pin, and refused where none is configured either.
ClientCertPem¶
Leaf certificate (plus intermediates, leaf first) for mutual TLS.
Certificate and key are all-or-nothing - supplying one without the other is reported.
ClientKeyPem¶
Private key matching ClientCertPem.
Must not be encrypted: no password can be supplied. Whether it matches the certificate is not checked here - a mismatch surfaces when the collector refuses the handshake.
PeerFingerprintCount¶
PeerFingerprints¶
Fingerprints of certificates the peer may present, any one of which authorises it.
Each is the RFC 5425 section 4.2.2 form: the IANA hash name, a colon, then the digest of the DER certificate as colon-separated hexadecimal bytes in either case, e.g. sha-256:E1:2D:.... sha-256 and sha-1 are accepted; a sha-1 pin is reported on every connection. A pin in any other form is reported when the stream opens and that attempt fails. NULL with a count of zero pins no peer; a count with no list behind it, or a NULL pin in one, is reported at Create, which returns the Null credentials. The array and the strings must outlive the credentials.
The documentation for this class was generated from the following file Platform/WolfSsl/Interface/SolidSyslogWolfSslPemBufferCredentials.h