Class CertificateDialog

    • Constructor Detail

      • CertificateDialog

        public CertificateDialog​(JFrame parent,
                                 UserDataCertificateException ce)
        Constructor of the certificate dialog.
        Parameters:
        parent - the parent frame for this dialog.
        ce - the UserDataCertificateException we use to get the information about the certificate that was presented and the reason why it was rejected.
    • Method Detail

      • getUserAnswer

        public CertificateDialog.ReturnType getUserAnswer()
        Wheter the user accepted the certificate or not.
        Returns:
        the ReturnType object defining what the user chose to do with the certificate.
      • hyperlinkUpdate

        public void hyperlinkUpdate​(HyperlinkEvent e)
        Implements HyperlinkListener. When the user clicks on a link we assume that is the show details/hide details and we update the visible components accordingly.
        Specified by:
        hyperlinkUpdate in interface HyperlinkListener
        Parameters:
        e - the HyperlinkEvent.