Packageorg.purepdf.pdf
Classpublic class PdfEncryption
InheritancePdfEncryption Inheritance it.sephiroth.utils.ObjectHash



Public Properties
 PropertyDefined By
  embeddedFilesOnly : Boolean
[read-only] Indicates if only the embedded files have to be encrypted.
PdfEncryption
Public Methods
 MethodDefined By
  
PdfEncryption
  
PdfEncryption
  
[static]
PdfEncryption
  
[static]
PdfEncryption
  
PdfEncryption
Public Constants
 ConstantDefined By
  AES_128 : int = 4
[static]
PdfEncryption
  STANDARD_ENCRYPTION_128 : int = 3
[static]
PdfEncryption
  STANDARD_ENCRYPTION_40 : int = 2
[static]
PdfEncryption
Property Detail
embeddedFilesOnlyproperty
embeddedFilesOnly:Boolean  [read-only]

Indicates if only the embedded files have to be encrypted.


Implementation
    public function get embeddedFilesOnly():Boolean
Constructor Detail
PdfEncryption()Constructor
public function PdfEncryption()



Method Detail
calculateStreamSize()method
public function calculateStreamSize(n:int):int

Parameters

n:int

Returns
int
createDocumentId()method 
public static function createDocumentId():Bytes

Returns
Bytes
createInfoId()method 
public static function createInfoId(id:Bytes):PdfObject

Parameters

id:Bytes

Returns
PdfObject
encryptByteArray()method 
public function encryptByteArray(b:Bytes):Bytes

Parameters

b:Bytes

Returns
Bytes
Constant Detail
AES_128Constant
public static const AES_128:int = 4

STANDARD_ENCRYPTION_128Constant 
public static const STANDARD_ENCRYPTION_128:int = 3

STANDARD_ENCRYPTION_40Constant 
public static const STANDARD_ENCRYPTION_40:int = 2