public interface PDFEncryption
Modifier and Type | Method and Description |
---|---|
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.
|
PDFEncryptionParams getParams()
void setParams(PDFEncryptionParams params)
params
- The parameterss to setvoid applyFilter(AbstractPDFStream stream)
stream
- the stream to add an encryption filter tobyte[] encrypt(byte[] data, PDFObject refObj)
data
- data to encryptrefObj
- reference PDFObjectjava.lang.String getTrailerEntry()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.