@Override
    public void actionPerformed(ActionEvent ae) {
        try {
            String op = ae.getActionCommand();
            
            switch(op){
                case "Assinar":
                    this.assinar();
                    s.dispose();
                    JOptionPane.showMessageDialog(null, "Arquivo assinado com sucesso!");
                    break;
                    
                case "Cancelar":
                    s.dispose();
                    break;
            }
        } catch (IOException ex) {
            Logger.getLogger(ControllerSigner.class.getName()).log(Level.SEVERE, null, ex);
        } catch (Exception ex) {
            Logger.getLogger(ControllerSigner.class.getName()).log(Level.SEVERE, null, ex);
        }
    }