Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence Class Reference

Public Member Functions

synchronized Optional< LicenseInfoloadLicenseInfo ()
 
synchronized Optional< LicenseResponseloadLicenseResponse ()
 
synchronized boolean saveLicenseResponse (LicenseResponse licenseResponse)
 

Static Public Member Functions

static CTLicensePersistence getInstance ()
 

Private Member Functions

File getCTLicenseFile ()
 
File getMalwareIngestFile ()
 

Private Attributes

final ObjectMapper objectMapper = ObjectMapperUtil.getInstance().getDefaultObjectMapper()
 

Static Private Attributes

static final String CT_LICENSE_FILENAME = "CyberTriageLicense.json"
 
static final String CT_SETTINGS_DIR = "CyberTriage"
 
static final CTLicensePersistence instance = new CTLicensePersistence()
 
static final Logger logger = Logger.getLogger(CTLicensePersistence.class.getName())
 
static final String MALWARE_INGEST_SETTINGS_FILENAME = "MalwareIngestSettings.json"
 

Detailed Description

Handles persisting CT Settings.

Definition at line 38 of file CTLicensePersistence.java.

Member Function Documentation

File com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.getCTLicenseFile ( )
private
static CTLicensePersistence com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.getInstance ( )
static
File com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.getMalwareIngestFile ( )
private
synchronized Optional<LicenseInfo> com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.loadLicenseInfo ( )
synchronized Optional<LicenseResponse> com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.loadLicenseResponse ( )
synchronized boolean com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.saveLicenseResponse ( LicenseResponse  licenseResponse)

Member Data Documentation

final String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.CT_LICENSE_FILENAME = "CyberTriageLicense.json"
staticprivate
final String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.CT_SETTINGS_DIR = "CyberTriage"
staticprivate
final CTLicensePersistence com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.instance = new CTLicensePersistence()
staticprivate
final Logger com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.logger = Logger.getLogger(CTLicensePersistence.class.getName())
staticprivate

Definition at line 44 of file CTLicensePersistence.java.

final String com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.MALWARE_INGEST_SETTINGS_FILENAME = "MalwareIngestSettings.json"
staticprivate
final ObjectMapper com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence.objectMapper = ObjectMapperUtil.getInstance().getDefaultObjectMapper()
private

Definition at line 48 of file CTLicensePersistence.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.