File SolidSyslogHmacSha256PolicyErrors.h¶
FileList > Core > Interface > SolidSyslogHmacSha256PolicyErrors.h
Portable detail codes for the HMAC-SHA-256 security-policy role, shared by every crypto backend that fills it.
#include "SolidSyslogExternC.h"
Public Types Documentation¶
SolidSyslogHmacSha256PolicyErrors¶
Detail codes an HMAC-SHA-256 policy reports through event->Detail, shared by every crypto backend.
enum SolidSyslogHmacSha256PolicyErrors {
SOLIDSYSLOG_HMAC_SHA256_POLICY_ERROR_POOL_EXHAUSTED,
SOLIDSYSLOG_HMAC_SHA256_POLICY_ERROR_UNKNOWN_DESTROY,
SOLIDSYSLOG_HMAC_SHA256_POLICY_ERROR_BAD_CONFIG,
SOLIDSYSLOG_HMAC_SHA256_POLICY_ERROR_KEY_UNAVAILABLE,
SOLIDSYSLOG_HMAC_SHA256_POLICY_ERROR_KEY_TOO_SHORT,
SOLIDSYSLOG_HMAC_SHA256_POLICY_ERROR_HMAC_FAILED,
SOLIDSYSLOG_HMAC_SHA256_POLICY_ERROR_MAX
};
Sealing a record at rest fails for the same reasons whichever library performs it, so a handler matching on these keeps working when the backend is swapped.
event->Source still names the backend that spoke, for diagnosis.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogHmacSha256PolicyErrors.h