Struct SolidSyslogSecurityRecord¶
ClassList > SolidSyslogSecurityRecord
#include <SolidSyslogSecurityPolicyDefinition.h>
struct SolidSyslogSecurityRecord
{
uint8_t* Content;
uint16_t ContentLength;
uint16_t HeaderLength;
uint8_t* Trailer;
};
Detailed Description¶
One record presented to a security policy.
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¶
Content¶
ContentLength¶
HeaderLength¶
Trailer¶
Written by SealRecord, read back and consumed by OpenRecord.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogSecurityPolicyDefinition.h