Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource Class Reference

Inherits Serializable.

Public Member Functions

 CorrelationDataSource (CorrelationCase correlationCase, String deviceId, String name, Long dataSourceObjectId, String md5Hash, String sha1Hash, String sha256Hash)
 
int getCaseID ()
 
Long getDataSourceObjectID ()
 
String getDeviceID ()
 
int getID ()
 
String getMd5 ()
 
String getName ()
 
String getSha1 ()
 
String getSha256 ()
 
void setMd5 (String md5Hash) throws CentralRepoException
 
void setSha1 (String sha1Hash) throws CentralRepoException
 
void setSha256 (String sha256Hash) throws CentralRepoException
 
String toString ()
 

Static Public Member Functions

static CorrelationDataSource fromTSKDataSource (CorrelationCase correlationCase, Content dataSource) throws CentralRepoException
 

Private Attributes

final int caseID
 
final int dataSourceID
 
final Long dataSourceObjectID
 
final String deviceID
 
String md5Hash
 
final String name
 
String sha1Hash
 
String sha256Hash
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Stores information about a Data Source in the Central Repository

Definition at line 34 of file CorrelationDataSource.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.CorrelationDataSource ( CorrelationCase  correlationCase,
String  deviceId,
String  name,
Long  dataSourceObjectId,
String  md5Hash,
String  sha1Hash,
String  sha256Hash 
)

Create a CorrelationDataSource object.

Parameters
correlationCaseCorrelationCase object data source is associated with. Must have been created by EamDB and have a valid ID.
deviceIdUser specified ID for device (unique per case)
nameUser specified name
dataSourceObjectIdThe object ID for the datasource
md5HashThe MD5 hash value
sha1HashThe SHA-1 hash value
sha256HashThe SHA-256 hash value

Definition at line 60 of file CorrelationDataSource.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationCase.getID(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.md5Hash, org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.name, org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.sha1Hash, and org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.sha256Hash.

Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.fromTSKDataSource().

Member Function Documentation

static CorrelationDataSource org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.fromTSKDataSource ( CorrelationCase  correlationCase,
Content  dataSource 
) throws CentralRepoException
static

Creates a central repository data source object from a case database data source. If the data source is not already present in the central repository, it is added.

Parameters
correlationCaseThe central repository case associated with the data aosurce.
dataSourceThe case database data source.
Returns
The central repository data source.
Exceptions
CentralRepoExceptionThis exception is thrown if there is an error creating the central repository data source.

Definition at line 115 of file CorrelationDataSource.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.CorrelationDataSource(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getDataSource(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.isEnabled(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.newDataSource().

Referenced by org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.getCorrAttrForFile(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.makeCorrAttr(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.makeCorrAttrsForSearch(), org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.makeCorrAttrsToSave(), org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.DataSourceAddedTask.run(), and org.sleuthkit.autopsy.centralrepository.ingestmodule.CentralRepoDataArtifactIngestModule.syncDataSourceHashes().

int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getCaseID ( )
Long org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getDataSourceObjectID ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getDeviceID ( )
int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getID ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getMd5 ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getName ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getSha1 ( )
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getSha256 ( )
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.setMd5 ( String  md5Hash) throws CentralRepoException
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.setSha1 ( String  sha1Hash) throws CentralRepoException
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.setSha256 ( String  sha256Hash) throws CentralRepoException
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.toString ( )

Member Data Documentation

final int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.caseID
private
final int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.dataSourceID
private
final Long org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.dataSourceObjectID
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.deviceID
private
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.md5Hash
private
final String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.name
private
final long org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.serialVersionUID = 1L
staticprivate

Definition at line 36 of file CorrelationDataSource.java.

String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.sha1Hash
private
String org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.sha256Hash
private

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

Copyright © 2012-2022 Basis Technology. Generated on: Wed Oct 5 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.