namespace SabreTools.Data.Models.SecuROM
{
///
/// Most DFA-protected files seem to also have additional encryption,
/// possibly SecuROM DFE. Only early RC-encrypted executables can be
/// parsed beyond the initial header.
///
public class DFAFile
{
///
/// "SDFA" 0x04 0x00 0x00 0x00
///
/// 8 bytes
public byte[] Signature { get; set; } = new byte[8];
///
/// Unknown value, possibly a block or header size
///
/// Only a value of 0x400 has been found
public uint BlockOrHeaderSize { get; set; }
///
/// All entries in the file
///
public DFAEntry[] Entries { get; set; } = [];
}
}