Skip to content

Struct SolidSyslogSecurityRecord

ClassList > SolidSyslogSecurityRecord

One record presented to a security policy. More...

  • #include <SolidSyslogSecurityPolicyDefinition.h>

Public Attributes

Type Name
uint8_t * Content
uint16_t ContentLength
uint16_t HeaderLength
uint8_t * Trailer
Written by SealRecord, read back and consumed by OpenRecord.

Detailed Description

The Content span is split as Content[0 .. HeaderLength) associated data, authenticated but never encrypted (the cleartext header the store needs to locate the record on replay) Content[HeaderLength .. ContentLength) body, authenticated; an AEAD policy also encrypts it in place and Trailer is the policy-owned span of TrailerSize bytes. MAC and checksum policies authenticate the whole Content and ignore the split; AEAD policies treat the header as associated data and encrypt the body.

Passed by const pointer: a policy may not repoint the fields, but the member pointers are non-const so it can write through Content (in-place encrypt/decrypt) and Trailer (seal) per the contract.

Public Attributes Documentation

variable Content

uint8_t* SolidSyslogSecurityRecord::Content;

variable ContentLength

uint16_t SolidSyslogSecurityRecord::ContentLength;

variable HeaderLength

uint16_t SolidSyslogSecurityRecord::HeaderLength;

variable Trailer

Written by SealRecord, read back and consumed by OpenRecord.

uint8_t* SolidSyslogSecurityRecord::Trailer;



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