HEADER_ID
HEADER_ID = 0x9901 : int
WinZip AES Extra Field.
$allowVendorVersions : int[]
$encryptionStrengths : array<int,int>
$MAP_KEY_STRENGTH_METHODS : array<int,int>
$vendorVersion : int
$keyStrength : int
$compressionMethod : int
__construct(int $vendorVersion, int $keyStrength, int $compressionMethod) : mixed
int | $vendorVersion | Integer version number specific to the zip vendor |
int | $keyStrength | Integer mode value indicating AES encryption strength |
int | $compressionMethod | The actual compression method used to compress the file |
unpackLocalFileData(string $buffer, \PhpZip\Model\ZipEntry|null $entry = null) : \PhpZip\Model\Extra\Fields\WinZipAesExtraField
Populate data from this array as if it was in local file data.
string | $buffer | the buffer to read data from |
\PhpZip\Model\ZipEntry|null | $entry |
on error
unpackCentralDirData(string $buffer, \PhpZip\Model\ZipEntry|null $entry = null) : \PhpZip\Model\Extra\Fields\WinZipAesExtraField
Populate data from this array as if it was in central directory data.
string | $buffer | the buffer to read data from |
\PhpZip\Model\ZipEntry|null | $entry |