Skip to content

File SolidSyslogSecurityPolicyDefinition.h

FileList > Core > Interface > SolidSyslogSecurityPolicyDefinition.h

  • #include "SolidSyslogExternC.h"
  • #include <stdbool.h>
  • #include <stdint.h>

Classes

Type Name
struct SolidSyslogSecurityPolicy
The at-rest integrity/confidentiality contract the block store applies to every record: SealRecord on the way in (before the record is stored), OpenRecord on replay-read (before the record is handed back).
struct SolidSyslogSecurityRecord
One record presented to a security policy.

Detailed Description

The SecurityPolicy vtable (SealRecord / OpenRecord) - the at-rest integrity/confidentiality contract an implementor fills in (the SecurityPolicy extension point).

SealRecord authenticates (AEAD policies also encrypt) and writes a trailer on the way in; OpenRecord verifies (and decrypts) on replay, so a tampered record is dropped rather than replayed, and one the policy cannot check yet is kept until it can.

Public Types Documentation

SolidSyslogSecurityPolicyOpenResult

What OpenRecord found.

enum SolidSyslogSecurityPolicyOpenResult {
    SOLIDSYSLOG_SECURITY_POLICY_OPEN_REJECTED,
    SOLIDSYSLOG_SECURITY_POLICY_OPEN_OPENED,
    SOLIDSYSLOG_SECURITY_POLICY_OPEN_COULD_NOT_RUN
};

Opened and rejected are verdicts on the record; could-not-run is not, since "could not check" is not evidence of corruption.

Rejected is zero so that a result left zeroed fails closed.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogSecurityPolicyDefinition.h