Autopsy  4.21.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
com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel Class Reference

Inherits com.basistech.df.cybertriage.autopsy.ctoptions.subpanel.CTOptionsSubPanel.

Classes

class  AuthTokenFetcher
 
class  LicenseFetcher
 

Public Member Functions

 CTMalwareScannerOptionsPanel ()
 
synchronized void loadSettings ()
 
synchronized void saveSettings ()
 
boolean valid ()
 

Private Member Functions

void acceptEula (LicenseResponse licenseResponse)
 
synchronized LicenseResponse getLicenseInfo ()
 
String getResetSuffix (LicenseLimitType limitType)
 
void gotoLink (String url)
 
void initComponents ()
 
synchronized boolean isLicenseAddRunning ()
 
synchronized boolean isMalwareScansRunning ()
 
void licenseInfoAddButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void licenseInfoRemoveButtonActionPerformed (java.awt.event.ActionEvent evt)
 
synchronized void loadLicenseInfo (String licenseNumber)
 
synchronized void loadMalwareScansInfo (LicenseInfo licenseInfo)
 
void purchaseLinkMouseClicked (java.awt.event.MouseEvent evt)
 
long remaining (Long total, Long used)
 
synchronized void renderLicenseState ()
 
synchronized void setLicenseDisplay (LicenseInfo licenseInfo, String licenseMessage)
 
synchronized void setMalwareScansDisplay (AuthTokenResponse authTokenResponse, String authTokenMessage, String authTokenError)
 

Static Private Member Functions

static String getCountersResetText (LicenseLimitType limitType, AuthTokenResponse authTokenResponse)
 
static String getHtmlLink (String url)
 
static String htmlWrap (String msg)
 

Private Attributes

volatile String authTokenError = null
 
volatile AuthTokenFetcher authTokenFetcher = null
 
volatile String authTokenMessage = null
 
volatile AuthTokenResponse authTokenResponse = null
 
javax.swing.JLabel countersResetLabel
 
final CTApiDAO ctApiDAO = CTApiDAO.getInstance()
 
final CTLicensePersistence ctPersistence = CTLicensePersistence.getInstance()
 
javax.swing.JLabel fileUploadsRemainingLabel
 
javax.swing.JLabel hashLookupsRemainingLabel
 
javax.swing.JLabel licenseErrorLabel
 
volatile LicenseFetcher licenseFetcher = null
 
volatile LicenseInfo licenseInfo = null
 
javax.swing.JButton licenseInfoAddButton
 
javax.swing.JLabel licenseInfoExpiresLabel
 
javax.swing.JLabel licenseInfoIdLabel
 
volatile String licenseInfoMessage = null
 
javax.swing.JLabel licenseInfoMessageLabel
 
javax.swing.JButton licenseInfoRemoveButton
 
javax.swing.JLabel licenseInfoUserLabel
 
javax.swing.JLabel malwareScansMessageLabel
 
javax.swing.JPanel malwareScansPanel
 
javax.swing.JLabel maxFileUploadsLabel
 
javax.swing.JLabel maxHashLookupsLabel
 
javax.swing.JLabel purchaseFromLabel
 
javax.swing.JLabel purchaseLink
 

Static Private Attributes

static final DateTimeFormatter LICENSE_EXPIRES_FORMAT
 
static final Logger logger = Logger.getLogger(CTMalwareScannerOptionsPanel.class.getName())
 
static final DateTimeFormatter MALWARE_SCANS_RESET_FORMAT
 
static final String PURCHASE_URL = "https://cybertriage.com/autopsy-malware-module"
 

Detailed Description

Options panel to be displayed in the CTOptionsPanel for settings regarding Cyber Triage Malware Scanner settings and license setup.

Definition at line 59 of file CTMalwareScannerOptionsPanel.java.

Constructor & Destructor Documentation

com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.CTMalwareScannerOptionsPanel ( )

Member Function Documentation

void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.acceptEula ( LicenseResponse  licenseResponse)
private
static String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.getCountersResetText ( LicenseLimitType  limitType,
AuthTokenResponse  authTokenResponse 
)
staticprivate
static String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.getHtmlLink ( String  url)
staticprivate

Definition at line 150 of file CTMalwareScannerOptionsPanel.java.

synchronized LicenseResponse com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.getLicenseInfo ( )
private
String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.getResetSuffix ( LicenseLimitType  limitType)
private

Definition at line 630 of file CTMalwareScannerOptionsPanel.java.

void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.gotoLink ( String  url)
private
static String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.htmlWrap ( String  msg)
staticprivate

Definition at line 229 of file CTMalwareScannerOptionsPanel.java.

void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.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 242 of file CTMalwareScannerOptionsPanel.java.

synchronized boolean com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.isLicenseAddRunning ( )
private
Returns
True if there is an operation to fetch the license.

Definition at line 186 of file CTMalwareScannerOptionsPanel.java.

Referenced by com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.CTMalwareScannerOptionsPanel().

synchronized boolean com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.isMalwareScansRunning ( )
private
Returns
True if there is an operation to fetch malware scans information.

Definition at line 193 of file CTMalwareScannerOptionsPanel.java.

Referenced by com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.CTMalwareScannerOptionsPanel().

void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoAddButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private
void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoRemoveButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 521 of file CTMalwareScannerOptionsPanel.java.

synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.loadLicenseInfo ( String  licenseNumber)
private

Definition at line 200 of file CTMalwareScannerOptionsPanel.java.

synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.loadMalwareScansInfo ( LicenseInfo  licenseInfo)
private
synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.loadSettings ( )
void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.purchaseLinkMouseClicked ( java.awt.event.MouseEvent  evt)
private

Definition at line 517 of file CTMalwareScannerOptionsPanel.java.

long com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.remaining ( Long  total,
Long  used 
)
private

Definition at line 650 of file CTMalwareScannerOptionsPanel.java.

synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.renderLicenseState ( )
private
synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.saveSettings ( )
synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.setLicenseDisplay ( LicenseInfo  licenseInfo,
String  licenseMessage 
)
private

Definition at line 170 of file CTMalwareScannerOptionsPanel.java.

synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.setMalwareScansDisplay ( AuthTokenResponse  authTokenResponse,
String  authTokenMessage,
String  authTokenError 
)
private

Definition at line 176 of file CTMalwareScannerOptionsPanel.java.

boolean com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.valid ( )

Definition at line 130 of file CTMalwareScannerOptionsPanel.java.

Member Data Documentation

volatile String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.authTokenError = null
private

Definition at line 83 of file CTMalwareScannerOptionsPanel.java.

volatile AuthTokenFetcher com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.authTokenFetcher = null
private
volatile String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.authTokenMessage = null
private

Definition at line 81 of file CTMalwareScannerOptionsPanel.java.

volatile AuthTokenResponse com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.authTokenResponse = null
private

Definition at line 80 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.countersResetLabel
private

Definition at line 800 of file CTMalwareScannerOptionsPanel.java.

final CTApiDAO com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.ctApiDAO = CTApiDAO.getInstance()
private

Definition at line 71 of file CTMalwareScannerOptionsPanel.java.

final CTLicensePersistence com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.ctPersistence = CTLicensePersistence.getInstance()
private

Definition at line 72 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.fileUploadsRemainingLabel
private

Definition at line 801 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.hashLookupsRemainingLabel
private

Definition at line 802 of file CTMalwareScannerOptionsPanel.java.

final DateTimeFormatter com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.LICENSE_EXPIRES_FORMAT
staticprivate
Initial value:
= DateTimeFormatter
.ofPattern("MMMM d, YYYY")
.withZone(ZoneId.of(UserPreferences.getInferredUserTimeZone()))

Definition at line 63 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseErrorLabel
private

Definition at line 803 of file CTMalwareScannerOptionsPanel.java.

volatile LicenseFetcher com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseFetcher = null
private
volatile LicenseInfo com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfo = null
private
javax.swing.JButton com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoAddButton
private

Definition at line 804 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoExpiresLabel
private

Definition at line 805 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoIdLabel
private

Definition at line 806 of file CTMalwareScannerOptionsPanel.java.

volatile String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoMessage = null
private

Definition at line 75 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoMessageLabel
private

Definition at line 807 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JButton com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoRemoveButton
private

Definition at line 808 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.licenseInfoUserLabel
private

Definition at line 809 of file CTMalwareScannerOptionsPanel.java.

final Logger com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.logger = Logger.getLogger(CTMalwareScannerOptionsPanel.class.getName())
staticprivate

Definition at line 61 of file CTMalwareScannerOptionsPanel.java.

final DateTimeFormatter com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.MALWARE_SCANS_RESET_FORMAT
staticprivate
Initial value:
= DateTimeFormatter
.ofPattern("MMM d, YYYY' at 'h:mma")
.withZone(ZoneId.of(UserPreferences.getInferredUserTimeZone()))

Definition at line 67 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.malwareScansMessageLabel
private

Definition at line 810 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JPanel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.malwareScansPanel
private

Definition at line 811 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.maxFileUploadsLabel
private

Definition at line 812 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.maxHashLookupsLabel
private

Definition at line 813 of file CTMalwareScannerOptionsPanel.java.

final String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.PURCHASE_URL = "https://cybertriage.com/autopsy-malware-module"
staticprivate

Definition at line 78 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.purchaseFromLabel
private

Definition at line 814 of file CTMalwareScannerOptionsPanel.java.

javax.swing.JLabel com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.purchaseLink
private

Definition at line 815 of file CTMalwareScannerOptionsPanel.java.


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

Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.