\PhpZip\IO\Filter\Cipher\WinZipAesWinZipAesDecryptionStreamFilter

Decrypt WinZip AES stream.

Summary

Methods
Properties
Constants
register()
onCreate()
filter()
onClose()
No public properties found
FILTER_NAME
No protected methods found
No protected properties found
N/A
No private methods found
$buffer
$authenticationCode
$encBlockPosition
$encBlockLength
$readLength
$entry
$context
N/A

Constants

FILTER_NAME

FILTER_NAME = 'phpzip.decryption.winzipaes'

Properties

$buffer

$buffer : string

Type

string

$authenticationCode

$authenticationCode : string

Type

string

$encBlockPosition

$encBlockPosition : int

Type

int

$encBlockLength

$encBlockLength : int

Type

int

$readLength

$readLength : int

Type

int

$entry

$entry : \PhpZip\Model\ZipEntry

Type

ZipEntry

$context

$context : \PhpZip\IO\Filter\Cipher\WinZipAes\WinZipAesContext|null

Type

WinZipAesContext|null

Methods

register()

register() : bool

Returns

bool —

onCreate()

onCreate() : bool

Returns

bool —

filter()

filter(resource  $in, resource  $out, int  $consumed, bool  $closing) : int

Parameters

resource $in
resource $out
int $consumed
bool $closing

Throws

\PhpZip\Exception\ZipAuthenticationException

Returns

int —

onClose()

onClose() : mixed

Throws

\PhpZip\Exception\ZipAuthenticationException

Returns

mixed —