|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
PDFEncryptionParams |
getParams()
Returns the encryption parameters. |
java.lang.String |
getTrailerEntry()
Returns the trailer entry for encryption. |
void |
setParams(PDFEncryptionParams params)
Sets the encryption parameters. |
Method Detail |
public PDFEncryptionParams getParams()
public void setParams(PDFEncryptionParams params)
params
- The parameterss to setpublic void applyFilter(AbstractPDFStream stream)
stream
- the stream to add an encryption filter topublic byte[] encrypt(byte[] data, PDFObject refObj)
data
- data to encryptrefObj
- reference PDFObject
public java.lang.String getTrailerEntry()
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |