2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.PKZIP
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The following is the layout of the Policy Decryption Key "extra" block.
|
|
|
|
|
/// TData is a variable length, variable content field. It holds
|
|
|
|
|
/// information about encryptions and/or encryption key sources.
|
|
|
|
|
/// Contact PKWARE for information on current TData structures.
|
|
|
|
|
/// Information in this "extra" block may aternatively be placed
|
|
|
|
|
/// within comment fields. Refer to the section in this document
|
|
|
|
|
/// entitled "Incorporating PKWARE Proprietary Technology into Your
|
|
|
|
|
/// Product" for more information.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>Header ID = 0x0021</remarks>
|
2025-10-30 20:44:16 -04:00
|
|
|
/// <see href="https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT"/>
|
2025-09-26 10:57:15 -04:00
|
|
|
public class PolicyDecryptionKeyRecordExtraField : ExtensibleDataField
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Data about the key
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public byte[] TData { get; set; } = [];
|
2025-09-26 10:57:15 -04:00
|
|
|
}
|
|
|
|
|
}
|