Class SignatureManager


  • public class SignatureManager
    extends Object
    Class used to add , edit and remove bookmarks from a PdfDocument outline.

    Bookmarks are arranged and navigated in a parent/child node hierarchy, similar to an HTML DOM.

    See: PdfDocument.getBookmark()

    See: Bookmark

    • Constructor Detail

    • Method Detail

      • SignPdfWithSignature

        public void SignPdfWithSignature​(Signature signature)
        Signs the PDF with digital signature with advanced options. Note that the PDF will not be fully signed until Saved using PdfDocument.saveAs(Path)" or PdfDocument.getBinaryData()
        Parameters:
        signature - the PdfSignature
      • SignPdfWithSignature

        public void SignPdfWithSignature​(Signature signature,
                                         SignaturePermissions permissions)
        Signs the PDF with digital signature with advanced options. Note that the PDF will not be fully signed until Saved using PdfDocument.saveAs(Path)" or PdfDocument.getBinaryData()
        Parameters:
        signature - the PdfSignature
        permissions - Permissions regarding modifications to the document after the digital signature is applied
      • VerifyPdfSignatures

        public boolean VerifyPdfSignatures()
        Verifies all the PDF signatures for this PDF document and returns true if there are no invalid signatures.
        Returns:
        true if no digital signatures or all digital signatures are currently valid. Editing a PDF document in any way will invalidate signatures.
      • RemoveSignature

        public void RemoveSignature()