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

Public Member Functions

AuthTokenResponse getAuthToken (DecryptedLicenseResponse decrypted) throws CTCloudException
 
LicenseResponse getLicenseInfo (String licenseString) throws CTCloudException
 
List< CTCloudBeangetReputationResults (AuthenticatedRequestData authenticatedRequestData, List< String > md5Hashes) throws CTCloudException
 

Static Public Member Functions

static CTApiDAO getInstance ()
 

Private Member Functions

 CTApiDAO ()
 

Static Private Member Functions

static String getAppVersion ()
 
static Map< String, String > getAuthParams (AuthenticatedRequestData authenticatedRequestData)
 

Private Attributes

final CTCloudHttpClient httpClient = CTCloudHttpClient.getInstance()
 

Static Private Attributes

static final String AUTH_TOKEN_REQUEST_PATH = "/_ah/api/auth/v2/generate_token"
 
static final String AUTOPSY_PRODUCT = "AUTOPSY"
 
static final String CTCLOUD_SERVER_HASH_PATH = "/_ah/api/reputation/v1/query/file/hash/md5?query_types=CORRELATION,MALWARE"
 
static final CTApiDAO instance = new CTApiDAO()
 
static final String LICENSE_REQUEST_PATH = "/_ah/api/license/v1/activate"
 

Detailed Description

Data access layer for handling the CT api.

Definition at line 43 of file CTApiDAO.java.

Constructor & Destructor Documentation

com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.CTApiDAO ( )
private

Definition at line 52 of file CTApiDAO.java.

Member Function Documentation

static String com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getAppVersion ( )
staticprivate
static Map<String, String> com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getAuthParams ( AuthenticatedRequestData  authenticatedRequestData)
staticprivate
AuthTokenResponse com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getAuthToken ( DecryptedLicenseResponse  decrypted) throws CTCloudException
static CTApiDAO com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getInstance ( )
static
LicenseResponse com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getLicenseInfo ( String  licenseString) throws CTCloudException
List<CTCloudBean> com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getReputationResults ( AuthenticatedRequestData  authenticatedRequestData,
List< String >  md5Hashes 
) throws CTCloudException

Member Data Documentation

final String com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.AUTH_TOKEN_REQUEST_PATH = "/_ah/api/auth/v2/generate_token"
staticprivate

Definition at line 46 of file CTApiDAO.java.

final String com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.AUTOPSY_PRODUCT = "AUTOPSY"
staticprivate

Definition at line 48 of file CTApiDAO.java.

final String com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.CTCLOUD_SERVER_HASH_PATH = "/_ah/api/reputation/v1/query/file/hash/md5?query_types=CORRELATION,MALWARE"
staticprivate

Definition at line 47 of file CTApiDAO.java.

final CTCloudHttpClient com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.httpClient = CTCloudHttpClient.getInstance()
private

Definition at line 63 of file CTApiDAO.java.

final CTApiDAO com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.instance = new CTApiDAO()
staticprivate
final String com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.LICENSE_REQUEST_PATH = "/_ah/api/license/v1/activate"
staticprivate

Definition at line 45 of file CTApiDAO.java.


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

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