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 class
PublicKeyEncryptionHandler
The 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.class
StandardEncryptionHandler
Represents 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 EncryptionHandler
PDF. getEncryptionHandler()
Return theEncryptionHandler
used to encrypt the document, ornull
if no encryption handler is in use.Methods in org.faceless.pdf2 with parameters of type EncryptionHandler Modifier and Type Method Description void
PDFReader. addEncryptionHandler(EncryptionHandler handler)
Add anEncryptionHandler
to be tried when loading the PDF.void
PDF. setEncryptionHandler(EncryptionHandler encrypt)
Set theEncryptionHandler
to 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 class
PasswordPromptEncryptionHandler
An extension of theStandardEncryptionHandler
that will pop up a password dialog to request the password if necessary.class
PublicKeyPromptEncryptionHandler
An extension of thePublicKeyEncryptionHandler
that 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 void
PDFViewer. loadPDF(File file, EncryptionHandler handler)
Deprecated.this method has been superceded by thePDFImporter
classvoid
PDFViewer. loadPDF(File file, EncryptionHandler[] handlers)
Deprecated.this method has been superceded by thePDFImporter
classvoid
PDFViewer. loadPDF(InputStream in, EncryptionHandler[] handlers, String title, File file)
Deprecated.this method has been superceded by thePDFImporter
class -
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 ofEncryptionHandler
objects used to possibly decrypt PDF files loaded with this Importer.
-