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)
 
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)
 

Static Private Member Functions

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

Private Attributes

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
 
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.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 60 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 145 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 557 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 149 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 230 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 180 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 187 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
synchronized void com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTMalwareScannerOptionsPanel.loadLicenseInfo ( String  licenseNumber)
private

Definition at line 194 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 454 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 577 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 165 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 171 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 125 of file CTMalwareScannerOptionsPanel.java.

Member Data Documentation

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 82 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 81 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 755 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 72 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 73 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 756 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 757 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 64 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 758 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 759 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 760 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 76 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 761 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 762 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 62 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 68 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 763 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 764 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 765 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 766 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 79 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 767 of file CTMalwareScannerOptionsPanel.java.

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

Definition at line 768 of file CTMalwareScannerOptionsPanel.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.