mirror of
https://github.com/MobileTooling/Ffu2Vhdx.git
synced 2026-07-27 12:48:20 -07:00
16 lines
657 B
C#
16 lines
657 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Img2Ffu.Reader.Structs
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
|
public struct SecurityHeader
|
|
{
|
|
public uint Size; // size of struct, overall
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
|
public string Signature; // "SignedImage "
|
|
public uint ChunkSizeInKB; // size of a hashed chunk within the image
|
|
public uint AlgorithmId; // algorithm used to hash
|
|
public uint CatalogSize; // size of catalog to validate
|
|
public uint HashTableSize; // size of hash table
|
|
}
|
|
} |