Class PDFEncryptionJCE.EncryptionFilter

    • Field Detail

      • streamGeneration

        private int streamGeneration
    • Constructor Detail

      • EncryptionFilter

        EncryptionFilter​(PDFObjectNumber streamNumber,
                         int streamGeneration)
    • Method Detail

      • getName

        public java.lang.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 java.io.OutputStream applyFilter​(java.io.OutputStream out)
                                         throws java.io.IOException
        Applies a filter to an OutputStream.
        Specified by:
        applyFilter in class PDFFilter
        Parameters:
        out - contents to be filtered
        Returns:
        OutputStream filtered contents
        Throws:
        java.io.IOException - In case of an I/O problem