Class PDF::Reader::StandardSecurityHandler
In: lib/pdf/reader/standard_security_handler.rb
Parent: Object

class creates interface to encrypt dictionary for use in Decrypt

Methods

decrypt   new  

Constants

PassPadBytes = [ 0x28, 0xbf, 0x4e, 0x5e, 0x4e, 0x75, 0x8a, 0x41, 0x64, 0x00, 0x4e, 0x56, 0xff, 0xfa, 0x01, 0x08, 0x2e, 0x2e, 0x00, 0xb6, 0xd0, 0x68, 0x3e, 0x80, 0x2f, 0x0c, 0xa9, 0xfe, 0x64, 0x53, 0x69, 0x7a ]  
 7.6.3.3 Encryption Key Algorithm (pp61)
needs a document‘s user password to build a key for decrypting an encrypted PDF document

Attributes

crypt_filter  [R] 
embedded_file_filter  [R] 
encrypt_key  [R] 
file_id  [R] 
filter  [R] 
key_length  [R] 
owner_key  [R] 
password  [R] 
permissions  [R] 
revision  [R] 
stream_filter  [R] 
string_filter  [R] 
subFilter  [R] 
user_key  [R] 
version  [R] 

Public Class methods

Public Instance methods

7.6.2 General Encryption Algorithm

Algorithm 1: Encryption of data using the RC4 or AES algorithms

used to decrypt RC4 encrypted PDF streams (buf)

buf - a string to decrypt ref - a PDF::Reader::Reference for the object to decrypt

[Validate]