Uses of Class
org.faceless.pdf2.EncryptionHandler
-
Packages that use EncryptionHandler Package Description org.faceless.pdf2 Contains the classes used to create a PDF documentorg.faceless.pdf2.viewer2 The "viewer" package contains the classes required to create a Swing application to display PDFs.org.faceless.pdf2.viewer2.feature Contains a list of all the features that are available to the PDFViewer. -
-
Uses of EncryptionHandler in org.faceless.pdf2
Subclasses of EncryptionHandler in org.faceless.pdf2 Modifier and Type Class Description classPublicKeyEncryptionHandlerThe PublicKeyEncryptionHandler can be used to encrypt and decrypt documents using public/private key Encryption, so documents can only be opened by someone in posession of the private key.classStandardEncryptionHandlerRepresents the standard Acrobat encryption algorithm, both 40-bit and 128-bit variants.Methods in org.faceless.pdf2 that return EncryptionHandler Modifier and Type Method Description EncryptionHandlerPDF. getEncryptionHandler()Return theEncryptionHandlerused to encrypt the document, ornullif no encryption handler is in use.Methods in org.faceless.pdf2 with parameters of type EncryptionHandler Modifier and Type Method Description voidPDFReader. addEncryptionHandler(EncryptionHandler handler)Add anEncryptionHandlerto be tried when loading the PDF.voidPDF. setEncryptionHandler(EncryptionHandler encrypt)Set theEncryptionHandlerto encrypt this document with.Constructors in org.faceless.pdf2 with parameters of type EncryptionHandler Constructor Description PDFReader(File in, EncryptionHandler encrypt)Read an encrypted PDF from the specified File.PDFReader(File in, EncryptionHandler[] encryptlist, float[] progress)Read a PDF from the specified File, and report on progress.PDFReader(File in, EncryptionHandler encrypt, float[] progress)Read a PDF from the specified InputStream, and report on progress.PDFReader(InputStream in, EncryptionHandler encrypt)Read an encrypted PDF from the specified InputStream.PDFReader(InputStream in, EncryptionHandler[] encryptlist, float[] progress)Read a PDF from the specified InputStream, and report on progress.PDFReader(InputStream in, EncryptionHandler encrypt, float[] progress)Read a PDF from the specified InputStream, and report on progress. -
Uses of EncryptionHandler in org.faceless.pdf2.viewer2
Subclasses of EncryptionHandler in org.faceless.pdf2.viewer2 Modifier and Type Class Description classPasswordPromptEncryptionHandlerAn extension of theStandardEncryptionHandlerthat will pop up a password dialog to request the password if necessary.classPublicKeyPromptEncryptionHandlerAn extension of thePublicKeyEncryptionHandlerthat will pop up a dialog allowing the user to select a KeyStore to select a private key from if necessary.Methods in org.faceless.pdf2.viewer2 with parameters of type EncryptionHandler Modifier and Type Method Description voidPDFViewer. loadPDF(File file, EncryptionHandler handler)Deprecated.this method has been superceded by thePDFImporterclassvoidPDFViewer. loadPDF(File file, EncryptionHandler[] handlers)Deprecated.this method has been superceded by thePDFImporterclassvoidPDFViewer. loadPDF(InputStream in, EncryptionHandler[] handlers, String title, File file)Deprecated.this method has been superceded by thePDFImporterclass -
Uses of EncryptionHandler in org.faceless.pdf2.viewer2.feature
Methods in org.faceless.pdf2.viewer2.feature that return types with arguments of type EncryptionHandler Modifier and Type Method Description Set<EncryptionHandler>PDFImporter. getEncryptionHandlers()Return the set ofEncryptionHandlerobjects used to possibly decrypt PDF files loaded with this Importer.
-