\PhpZip\ConstantsZipEncryptionMethod

Class ZipEncryptionMethod.

Summary

Methods
Properties
Constants
getEncryptionMethodName()
hasEncryptionMethod()
isWinZipAesMethod()
checkSupport()
No public properties found
NONE
PKWARE
WINZIP_AES_256
WINZIP_AES_128
WINZIP_AES_192
No protected methods found
No protected properties found
N/A
No private methods found
$ENCRYPTION_METHODS
N/A

Constants

NONE

NONE = -1

PKWARE

PKWARE = 0 : int

WINZIP_AES_256

WINZIP_AES_256 = 1 : int

WINZIP_AES_128

WINZIP_AES_128 = 2 : int

WINZIP_AES_192

WINZIP_AES_192 = 3 : int

Properties

$ENCRYPTION_METHODS

$ENCRYPTION_METHODS : array<int,string>

Type

array

Methods

getEncryptionMethodName()

getEncryptionMethodName(int  $value) : string

Parameters

int $value

Returns

string —

hasEncryptionMethod()

hasEncryptionMethod(int  $encryptionMethod) : bool

Parameters

int $encryptionMethod

Returns

bool —

isWinZipAesMethod()

isWinZipAesMethod(int  $encryptionMethod) : bool

Parameters

int $encryptionMethod

Returns

bool —

checkSupport()

checkSupport(int  $encryptionMethod) : mixed

Parameters

int $encryptionMethod

Throws

\PhpZip\Exception\InvalidArgumentException

Returns

mixed —