Table of contents
Namespace: Com\Tecnick\Pdf\Encrypt
Extends: Output
Abstract: Yes
File: Data.php line 34
Encryption constants and settings.
Tags
- since: 2008-01-02
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2011-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf-encrypt
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