mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
namespace SabreTools.Data.Models.PKZIP
|
|
{
|
|
/// <summary>
|
|
/// WinZip AES encryption data
|
|
/// </summary>
|
|
/// <remarks>Header ID = 0x9901</remarks>
|
|
/// <see href="https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs"/>
|
|
public class AesEncryptionStructure : ExtensibleDataField
|
|
{
|
|
/// <summary>
|
|
/// Compression type
|
|
/// </summary>
|
|
/// <remarks>Values 0f 0x01 and 0x02 are accepted</remarks>
|
|
public ushort CompressionType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Vendor ID
|
|
/// </summary>
|
|
/// <remarks>Should be 0x4541</remarks>
|
|
public ushort VendorID { get; set; }
|
|
|
|
/// <summary>
|
|
/// Unknown
|
|
/// </summary>
|
|
/// <remarks>This value is unreferenced</remarks>
|
|
public byte Unknown { get; set; }
|
|
|
|
/// <summary>
|
|
/// Compression method
|
|
/// </summary>
|
|
public CompressionMethod CompressionMethod { get; set; }
|
|
}
|
|
}
|