PoDoFo  0.9.4
Public Member Functions | List of all members
PoDoFo::PdfType1Encrypt Class Reference

#include <PdfFontType1.h>

Inherited by PoDoFo::PdfType1EncryptCharstring, and PoDoFo::PdfType1EncryptEexec.

Public Member Functions

 PdfType1Encrypt ()
 
unsigned char Encrypt (unsigned char plain)
 
unsigned char Decrypt (unsigned char cipher)
 

Detailed Description

Helper Class needed for parsing type1-font for subsetting

Constructor & Destructor Documentation

PoDoFo::PdfType1Encrypt::PdfType1Encrypt ( )

Create a new PdfTypeEncrypt object.

Member Function Documentation

unsigned char PoDoFo::PdfType1Encrypt::Decrypt ( unsigned char  cipher)

Decrypts a character

Parameters
cipherthe cipher to decrypt.
Returns
decrypted character
unsigned char PoDoFo::PdfType1Encrypt::Encrypt ( unsigned char  plain)

Encrypts a character

Parameters
plainthe character to encrypt.
Returns
encrypted cipher