namespace SabreTools.Data.Models.PKZIP
{
///
/// See the section describing the Strong Encryption Specification
/// for details. Refer to the section in this document entitled
/// "Incorporating PKWARE Proprietary Technology into Your Product"
/// for more information.
///
/// Header ID = 0x0017
///
public class StrongEncryptionHeader : ExtensibleDataField
{
///
/// Format definition for this record
///
public ushort Format { get; set; }
///
/// Encryption algorithm identifier
///
public ushort AlgID { get; set; }
///
/// Bit length of encryption key
///
public ushort Bitlen { get; set; }
///
/// Processing flags
///
public ushort Flags { get; set; }
///
/// Certificate decryption extra field data
///
///
/// Refer to the explanation for CertData
/// in the section describing the
/// Certificate Processing Method under
/// the Strong Encryption Specification
///
public byte[] CertData { get; set; } = [];
}
}