| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 207 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file lib/tcpdf/tcpdf.php |
TCPDF_Protection:: (14 methods):
TCPDF_Protection()
SetProtection()
_putstream()
_textstring()
_objectkey()
_escape()
_putresources()
_putencryption()
_puttrailer()
_RC4()
_md5_16()
_Ovalue()
_Uvalue()
_generateencryptionkey()
Class: TCPDF_Protection - X-Ref
| TCPDF_Protection($orientation='P',$unit='mm',$format='A4') X-Ref |
| No description |
| SetProtection($permissions=array() X-Ref |
| Function to set permissions as well as user and owner passwords - permissions is an array with values taken from the following list: copy, print, modify, annot-forms If a value is present it means that the permission is granted - If a user password is set, user will be prompted before document is opened - If an owner password is set, document can be opened in privilege mode with no restriction if that password is entered |
| _putstream($s) X-Ref |
| No description |
| _textstring($s) X-Ref |
| No description |
| _objectkey($n) X-Ref |
| Compute key depending on object number where the encrypted data is stored |
| _escape($s) X-Ref |
| Escape special characters |
| _putresources() X-Ref |
| No description |
| _putencryption() X-Ref |
| No description |
| _puttrailer() X-Ref |
| No description |
| _RC4($key, $text) X-Ref |
| RC4 is the standard encryption algorithm used in PDF format |
| _md5_16($string) X-Ref |
| Get MD5 as binary string |
| _Ovalue($user_pass, $owner_pass) X-Ref |
| Compute O value |
| _Uvalue() X-Ref |
| Compute U value |
| _generateencryptionkey($user_pass, $owner_pass, $protection) X-Ref |
| Compute encryption key |
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |