Class SignatureMacIntegrityProtector


  • class SignatureMacIntegrityProtector
    extends AbstractMacIntegrityProtector
    Class responsible for integrity protection in encrypted documents which uses MAC container in the signature mode.
    • Constructor Detail

      • SignatureMacIntegrityProtector

        SignatureMacIntegrityProtector​(PdfDocument document,
                                       PdfDictionary authDictionary)
    • Method Detail

      • prepareDocument

        void prepareDocument()
      • embedMacContainerInUnsignedAttributes

        private void embedMacContainerInUnsignedAttributes​(IASN1EncodableVector unsignedAttributes,
                                                           java.io.InputStream documentInputStream,
                                                           byte[] signature)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException