Skip to content

File SolidSyslogAesGcmPolicyErrors.h

FileList > Core > Interface > SolidSyslogAesGcmPolicyErrors.h

Portable detail codes for the AES-GCM security-policy role, shared by every crypto backend that fills it.

  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogAesGcmPolicyErrors

Detail codes an AES-GCM policy reports through event->Detail, shared by every crypto backend.

enum SolidSyslogAesGcmPolicyErrors {
    SOLIDSYSLOG_AES_GCM_POLICY_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_AES_GCM_POLICY_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_AES_GCM_POLICY_ERROR_BAD_CONFIG,
    SOLIDSYSLOG_AES_GCM_POLICY_ERROR_KEY_UNAVAILABLE,
    SOLIDSYSLOG_AES_GCM_POLICY_ERROR_NONCE_FAILED,
    SOLIDSYSLOG_AES_GCM_POLICY_ERROR_ENCRYPT_FAILED,
    SOLIDSYSLOG_AES_GCM_POLICY_ERROR_DECRYPT_FAILED,
    SOLIDSYSLOG_AES_GCM_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/SolidSyslogAesGcmPolicyErrors.h