Class StampingProperties

    • Field Detail

      • appendMode

        protected boolean appendMode
      • preserveEncryption

        protected boolean preserveEncryption
      • disableMac

        protected boolean disableMac
    • Constructor Detail

      • StampingProperties

        public StampingProperties()
    • Method Detail

      • preserveEncryption

        public StampingProperties preserveEncryption()
        Defines if the encryption of the original document (if it was encrypted) will be preserved. By default, the resultant document doesn't preserve the original encryption.
        Returns:
        this StampingProperties instance
      • disableMac

        public StampingProperties disableMac()
        Disables MAC token in the output PDF-2.0 document. By default, MAC token will be embedded. This property does not remove MAC token from existing document in append mode because it removes MAC protection from all previous revisions also.
        Returns:
        this StampingProperties instance