File SolidSyslogSecurityPolicyCategories.h¶
FileList > Core > Interface > SolidSyslogSecurityPolicyCategories.h
Go to the source code of this file
Portable category constants (uint16_t macros) for the SecurityPolicy role: SOLIDSYSLOG_CAT_SECURITYPOLICY_KEY_UNAVAILABLE / _SEAL_FAILED / _OPEN_FAILED.
#include <stdint.h>#include "SolidSyslogErrorCategory.h"
Macros¶
| Type | Name |
|---|---|
| define | SOLIDSYSLOG_CAT_SECURITYPOLICY_KEY_UNAVAILABLE ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_SECURITYPOLICY\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_securitypolicy_base) + 1U))Portable SecurityPolicy-role error categories, shared by every integrity / confidentiality policy (HMAC, AES-GCM, OpenSSL, Mbed TLS, ...). |
| define | SOLIDSYSLOG_CAT_SECURITYPOLICY_OPEN_FAILED ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_SECURITYPOLICY\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_securitypolicy_base) + 3U))Read side: a stored record failed to open (verify / decrypt) and cannot be read back. |
| define | SOLIDSYSLOG_CAT_SECURITYPOLICY_SEAL_FAILED ((uint16\_t) ([**SOLIDSYSLOG\_CAT\_SECURITYPOLICY\_BASE**](SolidSyslogErrorCategory_8h.md#define-solidsyslog_cat_securitypolicy_base) + 2U))Write side: a record could not be sealed (tag / encrypt). |
Macro Definition Documentation¶
define SOLIDSYSLOG_CAT_SECURITYPOLICY_KEY_UNAVAILABLE¶
Portable SecurityPolicy-role error categories, shared by every integrity / confidentiality policy (HMAC, AES-GCM, OpenSSL, Mbed TLS, ...).
#define SOLIDSYSLOG_CAT_SECURITYPOLICY_KEY_UNAVAILABLE `((uint16_t) ( SOLIDSYSLOG_CAT_SECURITYPOLICY_BASE + 1U))`
Seal (write side) and open (read side) are kept distinct because "a stored record can no longer be read back" is a materially different operational signal from "a record could not be written". The policy's key material was missing or could not be loaded.
define SOLIDSYSLOG_CAT_SECURITYPOLICY_OPEN_FAILED¶
Read side: a stored record failed to open (verify / decrypt) and cannot be read back.
#define SOLIDSYSLOG_CAT_SECURITYPOLICY_OPEN_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_SECURITYPOLICY_BASE + 3U))`
define SOLIDSYSLOG_CAT_SECURITYPOLICY_SEAL_FAILED¶
Write side: a record could not be sealed (tag / encrypt).
#define SOLIDSYSLOG_CAT_SECURITYPOLICY_SEAL_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_SECURITYPOLICY_BASE + 2U))`
The documentation for this class was generated from the following file Core/Interface/SolidSyslogSecurityPolicyCategories.h