\PhpZip\IO\Filter\Cipher\PkwarePKDecryptionStreamFilter

Decryption PKWARE Traditional Encryption.

Summary

Methods
Properties
Constants
register()
onCreate()
filter()
No public properties found
FILTER_NAME
No protected methods found
No protected properties found
N/A
No private methods found
$checkByte
$readLength
$size
$readHeader
$context
N/A

Constants

FILTER_NAME

FILTER_NAME = 'phpzip.decryption.pkware'

Properties

$checkByte

$checkByte : int

Type

int

$readLength

$readLength : int

Type

int

$size

$size : int

Type

int

$readHeader

$readHeader : bool

Type

bool

$context

$context : \PhpZip\IO\Filter\Cipher\Pkware\PKCryptContext

Type

PKCryptContext

Methods

register()

register() : bool

Returns

bool —

onCreate()

onCreate() : bool

Returns

bool —

filter()

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

Decryption filter.

Parameters

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

Throws

\PhpZip\Exception\ZipException

Returns

int —