Data

Encryption constants and settings.

Namespace: Com\Tecnick\Pdf\Encrypt

Extends: Output

Abstract: Yes

File: Data.php line 34

Encryption constants and settings.

Tags

Constants

DEFAULTPERMS

File: Data.php line 63

public array<string|int, string> DEFAULTPERMS = ['print', 'modify', 'copy', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-high']

Methods

__debugInfo()

File: Output.php line 131

public __debugInfo() : array<string, mixed>

Return values

array<string, mixed>

escapeString()

File: Output.php line 146

public escapeString(string $str) : string

Parameters

  • $str : string: String to escape.

Return values

string

getPdfEncryptionObj()

File: Output.php line 186

public getPdfEncryptionObj(int &$pon) : string

Parameters

  • $pon : int: Current PDF object number

Tags

  • throws: Exception When encryption is not enabled.

Return values

string