|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.pdf.PDFEncryptionManager
public final class PDFEncryptionManager
This class acts as a factory for PDF encryption support. It enables the feature to be optional to FOP depending on the availability of JCE.
| Method Summary | |
|---|---|
static boolean |
checkAvailableAlgorithms()
Checks whether the necessary algorithms are available. |
static boolean |
isJCEAvailable()
Indicates whether JCE is available. |
static PDFEncryption |
newInstance(int objnum,
PDFEncryptionParams params,
PDFDocument pdf)
Creates a new PDFEncryption instance if PDF encryption is available. |
static void |
setupPDFEncryption(PDFEncryptionParams params,
PDFDocument pdf)
Sets up PDF encryption if PDF encryption is requested by registering a PDFEncryptionParams object with the user agent and if
the necessary cryptographic support is available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isJCEAvailable()
public static boolean checkAvailableAlgorithms()
public static void setupPDFEncryption(PDFEncryptionParams params,
PDFDocument pdf)
PDFEncryptionParams object with the user agent and if
the necessary cryptographic support is available.
params - the PDF encryption params or null to disable encryptionpdf - the PDF document to setup encryption for
public static PDFEncryption newInstance(int objnum,
PDFEncryptionParams params,
PDFDocument pdf)
objnum - PDF object numberparams - PDF encryption parameterspdf - the PDF document to encrypt
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||