class-Com.Tecnick.Pdf.Encrypt.Data

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Data

Com\Tecnick\Pdf\Encrypt\Data

Ecrypt common data

Com\Tecnick\Pdf\Encrypt\Output
Extended by Com\Tecnick\Pdf\Encrypt\Data

Direct known subclasses

Com\Tecnick\Pdf\Encrypt\Compute

Indirect known subclasses

Com\Tecnick\Pdf\Encrypt\Encrypt
Abstract
Namespace: Com\Tecnick\Pdf\Encrypt
Package: PdfEncrypt
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2008-01-02
Link: https://github.com/tecnickcom/tc-lib-pdf-encrypt
Located at Data.php
Methods inherited from Com\Tecnick\Pdf\Encrypt\Output
getAdditionalEncDic(), getBooleanString(), getCryptFilter(), getPdfEncryptionObj(), setMissingValues()
Properties summary
protected static string $encpad

Encryption padding string.

# "\x28\xBF\x4E\x5E\x4E\x75\x8A\x41\x64\x00\x4E\x56\xFF\xFA\x01\x08\x2E\x2E\x00\xB6\xD0\x68\x3E\x80\x2F\x0C\xA9\xFE\x64\x53\x69\x7A"
protected static array $permbits

Map permission modes and bits

# array( 'owner' => 2, // bit 2 -- inverted logic: cleared by default // When set permits change of encryption and enables all other permissions. 'print' => 4, // bit 3 // Print the document. 'modify' => 8, // bit 4 // Modify the contents of the document by operations other than those controlled // by 'fill-forms', 'extract' and 'assemble'. 'copy' => 16, // bit 5 // Copy or otherwise extract text and graphics from the document. 'annot-forms' => 32, // bit 6 // Add or modify text annotations, fill in interactive form fields, and, // if 'modify' is also set, create or modify interactive form fields // (including signature fields). 'fill-forms' => 256, // bit 9 // Fill in existing interactive form fields (including signature fields), // even if 'annot-forms' is not specified. 'extract' => 512, // bit 10 // Extract text and graphics (in support of accessibility to users with // disabilities or for other purposes). 'assemble' => 1024, // bit 11 // Assemble the document (insert, rotate, or delete pages and create bookmarks // or thumbnail images), even if 'modify' is not set. 'print-high' => 2048, // bit 12 // Print the document to a representation from which a faithful digital copy of the // PDF content could be generated. When this is not set, printing is limited to a // low-level representation of the appearance, possibly of degraded quality. )
protected static array $encrypt_settings

Encryption settings

# array( 0 => array( // RC4 40 bit 'V' => 1, 'Length' => 40, 'CF' => array( 'CFM' => 'V2', 'AuthEvent' => 'DocOpen', ), ), 1 => array( // RC4 128 bit 'V' => 2, 'Length' => 128, 'CF' => array( 'CFM' => 'V2', 'AuthEvent' => 'DocOpen', ), 'SubFilter' => 'adbe.pkcs7.s4', 'Recipients' => array(), ), 2 => array( // AES 128 bit 'V' => 4, 'Length' => 128, 'CF' => array( 'CFM' => 'AESV2', 'Length' => 128, 'AuthEvent' => 'DocOpen', ), 'SubFilter' => 'adbe.pkcs7.s5', 'Recipients' => array(), ), 3 => array( // AES 256 bit 'V' => 5, 'Length' => 256, 'CF' => array( 'CFM' => 'AESV3', 'Length' => 256, 'AuthEvent' => 'DocOpen', ), 'SubFilter' => 'adbe.pkcs7.s5', 'Recipients' => array(), ), )
protected static array $encmap

Define a list of available encrypt encoders.

# array( 0 => 'RCFourFive', // RC4-40 1 => 'RCFourSixteen', // RC4-128 2 => 'AESSixteen', // AES-128 3 => 'AESThirtytwo', // AES-256 'RC4' => 'RCFour', // RC4-40 'RC4-40' => 'RCFourFive', // RC4-40 'RC4-128' => 'RCFourSixteen', // RC4-128 'AES' => 'AES', // AES-256 'AES-128' => 'AESSixteen', // AES-128 'AES-256' => 'AESThirtytwo', // AES-256 'AESnopad' => 'AESnopad', // AES - no padding 'MD5-16' => 'MDFiveSixteen', // MD5-16 'seed' => 'Seed', // Random seed string )
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy