Files

30 lines
753 B
C#
Raw Permalink Normal View History

2025-09-26 10:57:15 -04:00
using System.Runtime.InteropServices;
2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.VPK
2025-09-26 10:57:15 -04:00
{
/// <see href="https://developer.valvesoftware.com/wiki/VPK_(file_format)"/>
[StructLayout(LayoutKind.Sequential)]
public sealed class SignatureSection
{
/// <summary>
/// Always seen as 160 (0xA0) bytes
/// </summary>
public uint PublicKeySize;
/// <summary>
/// <see cref="PublicKeySize"/>
2025-09-26 10:57:15 -04:00
/// </summary>
public byte[] PublicKey = [];
2025-09-26 10:57:15 -04:00
/// <summary>
/// Always seen as 128 (0x80) bytes
/// </summary>
public uint SignatureSize;
/// <summary>
/// <see cref="SignatureSize"/>
2025-09-26 10:57:15 -04:00
/// </summary>
public byte[] Signature = [];
2025-09-26 10:57:15 -04:00
}
}