Class PDFEncryptionJCE.EncryptionFilter

java.lang.Object
org.apache.fop.pdf.PDFFilter
org.apache.fop.pdf.PDFEncryptionJCE.EncryptionFilter
Enclosing class:
PDFEncryptionJCE

private class PDFEncryptionJCE.EncryptionFilter extends PDFFilter
  • Field Details

    • streamNumber

      private PDFObjectNumber streamNumber
    • streamGeneration

      private int streamGeneration
  • Constructor Details

    • EncryptionFilter

      EncryptionFilter(PDFObjectNumber streamNumber, int streamGeneration)
  • Method Details

    • getName

      public String getName()
      Returns a PDF string representation of this filter.
      Specified by:
      getName in class PDFFilter
      Returns:
      the empty string
    • getDecodeParms

      public PDFObject getDecodeParms()
      Returns a parameter dictionary for this filter.
      Specified by:
      getDecodeParms in class PDFFilter
      Returns:
      null, this filter has no parameters
    • applyFilter

      public OutputStream applyFilter(OutputStream out) throws IOException
      Applies a filter to an OutputStream.
      Specified by:
      applyFilter in class PDFFilter
      Parameters:
      out - contents to be filtered
      Returns:
      OutputStream filtered contents
      Throws:
      IOException - In case of an I/O problem