|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PDFEncryption
This interface defines the contract for classes implementing PDF encryption.
Method Summary | |
---|---|
void |
applyFilter(AbstractPDFStream stream)
Adds a PDFFilter to the PDFStream object |
byte[] |
encrypt(byte[] data,
PDFObject refObj)
Encrypt an array of bytes using a reference PDFObject for calculating the encryption key. |
Version |
getPDFVersion()
Returns the PDF version required by the current encryption algorithm. |
java.lang.String |
getTrailerEntry()
Returns the /Encrypt entry in the file trailer dictionary. |
Method Detail |
---|
void applyFilter(AbstractPDFStream stream)
stream
- the stream to add an encryption filter tobyte[] encrypt(byte[] data, PDFObject refObj)
data
- data to encryptrefObj
- reference PDFObject
java.lang.String getTrailerEntry()
Version getPDFVersion()
|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |