\PhpZip\IO\Filter\Cipher\PkwarePKEncryptionStreamFilter

Encryption 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
$size
$headerBytes
$writeLength
$writeHeader
$context
N/A

Constants

FILTER_NAME

FILTER_NAME = 'phpzip.encryption.pkware'

Properties

$size

$size : int

Type

int

$headerBytes

$headerBytes : string

Type

string

$writeLength

$writeLength : int

Type

int

$writeHeader

$writeHeader : 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

Encryption filter.

Parameters

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

Returns

int —