File SolidSyslogTlsCredentialsErrors.h¶
FileList > Core > Interface > SolidSyslogTlsCredentialsErrors.h
Portable detail codes for the TLS-credentials role, shared by every credentials backend.
#include "SolidSyslogExternC.h"
Public Types Documentation¶
SolidSyslogTlsCredentialsErrors¶
Detail codes a credentials backend reports through event->Detail, shared by every backend whatever it fetches material from - a file, memory, a handle the integrator already built, or a secure element.
enum SolidSyslogTlsCredentialsErrors {
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_POOL_EXHAUSTED,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_UNKNOWN_DESTROY,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_NULL_CONFIG,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_NULL_RNG,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_NULL_PEER_FINGERPRINT,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_ALREADY_IN_USE,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_PEM_NOT_TERMINATED,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_TRUST_ANCHORS_NOT_LOADED,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_TRUST_ANCHORS_NOT_PARSED,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_CLIENT_CREDENTIAL_INCOMPLETE,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_CLIENT_CREDENTIAL_NOT_PARSED,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_CLIENT_CREDENTIAL_MISMATCHED,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_CLIENT_CREDENTIAL_NOT_INSTALLED,
SOLIDSYSLOG_TLS_CREDENTIALS_ERROR_MAX
};
A handler that matches on these reacts to a fault identically whichever backend produced it, and keeps working when the backend is swapped.
event->Source still names the backend that spoke, for diagnosis. Which of these codes a given backend can raise is a property of that backend and is stated on its own page; a code it never raises is simply one a handler never sees.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogTlsCredentialsErrors.h