Class SignatureTreeNode

    • Constructor Detail

      • SignatureTreeNode

        public SignatureTreeNode​(SignatureWidgetAnnotation signatureWidgetAnnotation,
                                 ResourceBundle messageBundle)
        Creates a new instance of an OutlineItemTreeNode
        Parameters:
        signatureWidgetAnnotation - Contains PDF Outline signatureWidgetAnnotation data
        messageBundle - i18n message bundle
    • Method Detail

      • validateSignatureNode

        public void validateSignatureNode()
                                   throws SignatureIntegrityException
        Validates the signatures represented by this tree node. This method is called by a worker thread and once validation is complete the notes states is updated with a call to refreshSignerNode()
        Throws:
        SignatureIntegrityException - security exception if validation failed.
      • refreshSignerNode

        public void refreshSignerNode()
        Builds a rather complicated tree node and child nodes to show various properties of a a signer and the corresponding certificate. The main purpose is to display to the end user if the certificate is valid and can be trusted as well as showing document permissions and if the document has been modified since it was singed.
        - Singed by "signer name" | - Signature is <valid|invalid> | - This version of the document has <not> been altered - SignatureSigner's identity is <valid|invalid> - Signature includes an embedded timestamp | Signing is from the clock of the signer's computer. - Permissions | - No changes allowed - Field values can be changed - needs more research - Signature Details | - Reason: - Location: - Certificate Details (clickable, loads certificate dialog) - Last Checked: <verification last run time> - Field Name: <field name> on page X (clickable, takes to page and applies focus).
      • getRootNodeValidityIcon

        protected Icon getRootNodeValidityIcon()
      • isVerifyingSignature

        public boolean isVerifyingSignature()
      • setVerifyingSignature

        public void setVerifyingSignature​(boolean verifyingSignature)
        Flat to indicated that the validation process has completed and the state variables are in a completed state. This doesn't mean that the signature is valid just the validation process is complete.
        Parameters:
        verifyingSignature - true to indicate the validation process is complete, otherwise falls.