Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel Class Reference

Inherits org.sleuthkit.autopsy.ingest.IngestModuleGlobalSettingsPanel, and org.sleuthkit.autopsy.corecomponents.OptionsPanel.

Classes

class  HashSetTable
 
class  HashSetTableModel
 

Public Member Functions

 HashLookupSettingsPanel ()
 
void cancel ()
 
void load ()
 
void saveSettings ()
 
void store ()
 

Private Member Functions

void addHashesToDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void createDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void customizeComponents ()
 
void deleteDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void hashSetTableKeyPressed (java.awt.event.KeyEvent evt)
 
void importDatabaseButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void indexButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void initComponents ()
 
boolean isLocalIngestJobEvent (PropertyChangeEvent evt)
 
boolean isWindows ()
 
void sendIngestMessagesCheckBoxActionPerformed (java.awt.event.ActionEvent evt)
 
void showInvalidIndex (List< SleuthkitHashSet > unindexed)
 
void updateComponents ()
 
void updateComponentsForNoSelection ()
 
void updateComponentsForSelection (HashDb db)
 
void updateForSleuthkitHashSet (boolean ingestIsRunning, SleuthkitHashSet hashDb) throws MissingResourceException
 

Static Private Member Functions

static String getPathString (String path, boolean justFilename)
 

Private Attributes

javax.swing.JButton addHashesToDatabaseButton
 
javax.swing.JButton createDatabaseButton
 
javax.swing.JButton deleteDatabaseButton
 
javax.swing.JLabel hashDatabasesLabel
 
javax.swing.JLabel hashDbIndexStatusLabel
 
javax.swing.JLabel hashDbLocationLabel
 
javax.swing.JLabel hashDbNameLabel
 
javax.swing.JLabel hashDbOrgLabel
 
javax.swing.JLabel hashDbReadOnlyLabel
 
javax.swing.JLabel hashDbTypeLabel
 
javax.swing.JLabel hashDbVersionLabel
 
final HashDbManager hashSetManager = HashDbManager.getInstance()
 
javax.swing.JTable hashSetTable
 
final HashSetTableModel hashSetTableModel = new HashSetTableModel()
 
javax.swing.JButton importDatabaseButton
 
javax.swing.JButton indexButton
 
javax.swing.JLabel indexLabel
 
javax.swing.JLabel indexPathLabel
 
javax.swing.JLabel indexPathLabelLabel
 
javax.swing.JLabel informationLabel
 
javax.swing.JPanel informationPanel
 
javax.swing.JScrollPane informationScrollPanel
 
javax.swing.JLabel ingestWarningLabel
 
javax.swing.JPanel jPanel1
 
javax.swing.JScrollPane jScrollPane1
 
javax.swing.JScrollPane jScrollPane2
 
javax.swing.JLabel locationLabel
 
javax.swing.JLabel nameLabel
 
final List< Integer > newReferenceSetIDs = new ArrayList<>()
 
javax.swing.JLabel orgLabel
 
javax.swing.JLabel readOnlyLabel
 
javax.swing.JCheckBox sendIngestMessagesCheckBox
 
javax.swing.JLabel typeLabel
 
javax.swing.JLabel versionLabel
 

Static Private Attributes

static final String ERROR_GETTING_INDEX_STATUS_TEXT
 
static final String ERROR_GETTING_PATH_TEXT
 
static final Logger logger = Logger.getLogger(HashLookupSettingsPanel.class.getName())
 
static final String NO_SELECTION_TEXT
 
static final String NSRL_NAME_STRING = "nsrl"
 
static final String NSRL_URL = "https://sourceforge.net/projects/autopsy/files/NSRL/"
 

Detailed Description

Instances of this class provide a comprehensive UI for managing the hash sets configuration.

Definition at line 65 of file HashLookupSettingsPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.HashLookupSettingsPanel ( )

Member Function Documentation

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 951 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.cancel ( )
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 957 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.customizeComponents ( )
private

Definition at line 114 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
static String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.getPathString ( String  path,
boolean  justFilename 
)
staticprivate

Definition at line 236 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTableKeyPressed ( java.awt.event.KeyEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 1033 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 643 of file HashLookupSettingsPanel.java.

boolean org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.isLocalIngestJobEvent ( PropertyChangeEvent  evt)
private
boolean org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.isWindows ( )
private

Check if the current OS is windows

Returns
true if running on windows, false otherwise

Definition at line 984 of file HashLookupSettingsPanel.java.

References org.sleuthkit.autopsy.coreutils.PlatformUtil.getOSName().

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.load ( )
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.saveSettings ( )
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBoxActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 971 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.showInvalidIndex ( List< SleuthkitHashSet >  unindexed)
private

Displays the popup box that tells user that some of his databases are unindexed, along with solutions. This method is related to ModalNoButtons, to be removed at a later date.

Parameters
unindexedThe list of unindexed databases. Can be of size 1.

Definition at line 444 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.store ( )

Store the current state of all options in this OptionsPanel.

Implements org.sleuthkit.autopsy.corecomponents.OptionsPanel.

Definition at line 389 of file HashLookupSettingsPanel.java.

Referenced by org.sleuthkit.autopsy.modules.hashdatabase.HashDatabaseOptionsPanelController.applyChanges().

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponents ( )
private

Definition at line 131 of file HashLookupSettingsPanel.java.

void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponentsForNoSelection ( )
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateComponentsForSelection ( HashDb  db)
private
void org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.updateForSleuthkitHashSet ( boolean  ingestIsRunning,
SleuthkitHashSet  hashDb 
) throws MissingResourceException
private

Updates UI for a SleuthkitHashSet.

Parameters
ingestIsRunningWhether or not ingest is running.
hashDbThe hash set to be included in the list of hash sets.
Exceptions
MissingResourceException

Definition at line 257 of file HashLookupSettingsPanel.java.

References org.sleuthkit.autopsy.coreutils.Logger.getLogger().

Member Data Documentation

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.addHashesToDatabaseButton
private

Definition at line 1086 of file HashLookupSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.createDatabaseButton
private

Definition at line 1087 of file HashLookupSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.deleteDatabaseButton
private

Definition at line 1088 of file HashLookupSettingsPanel.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ERROR_GETTING_INDEX_STATUS_TEXT
staticprivate
Initial value:
= NbBundle
.getMessage(HashLookupSettingsPanel.class, "HashDbConfigPanel.errorGettingIndexStatusText")

Definition at line 73 of file HashLookupSettingsPanel.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ERROR_GETTING_PATH_TEXT
staticprivate
Initial value:
= NbBundle
.getMessage(HashLookupSettingsPanel.class, "HashDbConfigPanel.errorGettingPathText")

Definition at line 71 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDatabasesLabel
private

Definition at line 1089 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbIndexStatusLabel
private

Definition at line 1090 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbLocationLabel
private

Definition at line 1091 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbNameLabel
private

Definition at line 1092 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbOrgLabel
private

Definition at line 1093 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbReadOnlyLabel
private

Definition at line 1094 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbTypeLabel
private

Definition at line 1095 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashDbVersionLabel
private

Definition at line 1096 of file HashLookupSettingsPanel.java.

final HashDbManager org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetManager = HashDbManager.getInstance()
private

Definition at line 76 of file HashLookupSettingsPanel.java.

javax.swing.JTable org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTable
private

Definition at line 1097 of file HashLookupSettingsPanel.java.

final HashSetTableModel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.hashSetTableModel = new HashSetTableModel()
private

Definition at line 77 of file HashLookupSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.importDatabaseButton
private

Definition at line 1098 of file HashLookupSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexButton
private

Definition at line 1099 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexLabel
private

Definition at line 1100 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabel
private

Definition at line 1101 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.indexPathLabelLabel
private

Definition at line 1102 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.informationLabel
private

Definition at line 1103 of file HashLookupSettingsPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.informationPanel
private

Definition at line 1104 of file HashLookupSettingsPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.informationScrollPanel
private

Definition at line 1105 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.ingestWarningLabel
private

Definition at line 1106 of file HashLookupSettingsPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jPanel1
private

Definition at line 1107 of file HashLookupSettingsPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jScrollPane1
private

Definition at line 1108 of file HashLookupSettingsPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.jScrollPane2
private

Definition at line 1109 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.locationLabel
private

Definition at line 1110 of file HashLookupSettingsPanel.java.

final Logger org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.logger = Logger.getLogger(HashLookupSettingsPanel.class.getName())
staticprivate

Definition at line 75 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.nameLabel
private

Definition at line 1111 of file HashLookupSettingsPanel.java.

final List<Integer> org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.newReferenceSetIDs = new ArrayList<>()
private

Definition at line 78 of file HashLookupSettingsPanel.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.NO_SELECTION_TEXT
staticprivate
Initial value:
= NbBundle
.getMessage(HashLookupSettingsPanel.class, "HashDbConfigPanel.noSelectionText")

Definition at line 69 of file HashLookupSettingsPanel.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.NSRL_NAME_STRING = "nsrl"
staticprivate

Definition at line 68 of file HashLookupSettingsPanel.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.NSRL_URL = "https://sourceforge.net/projects/autopsy/files/NSRL/"
staticprivate

Definition at line 67 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.orgLabel
private

Definition at line 1112 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.readOnlyLabel
private

Definition at line 1113 of file HashLookupSettingsPanel.java.

javax.swing.JCheckBox org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.sendIngestMessagesCheckBox
private

Definition at line 1114 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.typeLabel
private

Definition at line 1115 of file HashLookupSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.modules.hashdatabase.HashLookupSettingsPanel.versionLabel
private

Definition at line 1116 of file HashLookupSettingsPanel.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.