## Uses of Class
org.faceless.pdf2.EncryptionHandler

- Packages that use EncryptionHandler
  Package | Description
  --- | ---
  org.faceless.pdf2 | Contains the classes used to create a PDF document
  org.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 and 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 certain individuals.
    `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 and Description
    --- | ---
    `EncryptionHandler` | PDF.`getEncryptionHandler()` Return the `EncryptionHandler` used to encrypt the document, or `null` if no encryption handler is in use.

    Methods in org.faceless.pdf2 with parameters of type EncryptionHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | PDFReader.`addEncryptionHandler(EncryptionHandler handler)` Add an `EncryptionHandler` to be tried when loading the PDF.
    `void` | PDF.`setEncryptionHandler(EncryptionHandler encrypt)` Set the `EncryptionHandler` to encrypt this document with.

    Constructors in org.faceless.pdf2 with parameters of type EncryptionHandler
    Constructor and 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 and Description
    --- | ---
    `class` | `PasswordPromptEncryptionHandler` An extension of the `StandardEncryptionHandler` that will pop up a password dialog to request the password if necessary.
    `class` | `PublicKeyPromptEncryptionHandler` An extension of the `PublicKeyEncryptionHandler` 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 and Description
    --- | ---
    `void` | PDFViewer.`loadPDF(File file, EncryptionHandler handler)` Deprecated. this method has been superceded by the `PDFImporter` class
    `void` | PDFViewer.`loadPDF(File file, EncryptionHandler[] handlers)` Deprecated. this method has been superceded by the `PDFImporter` class
    `void` | PDFViewer.`loadPDF(InputStream in, EncryptionHandler[] handlers, String title, File file)` Deprecated. this method has been superceded by the `PDFImporter` 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 and Description
    --- | ---
    `Set<EncryptionHandler>` | PDFImporter.`getEncryptionHandlers()` Return the set of `EncryptionHandler` objects used to possibly decrypt PDF files loaded with this Importer.

Copyright © 2001-2015 Big Faceless Organization