Autopsy  4.12.0
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 EamDbException
 
void setSha1 (String sha1Hash) throws EamDbException
 
void setSha256 (String sha256Hash) throws EamDbException
 
String toString ()
 

Static Public Member Functions

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

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 correlation engine

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 EamDbException
static

Create a CorrelationDataSource object from a TSK Content object. This will add it to the central repository.

Parameters
correlationCasethe current CorrelationCase used for ensuring uniqueness of DataSource
dataSourcethe sleuthkit datasource that is being added to the central repository
Returns
Exceptions
EamDbException

Definition at line 113 of file CorrelationDataSource.java.

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

Referenced by org.sleuthkit.autopsy.centralrepository.contentviewer.DataContentViewerOtherCases.getCorrelationAttributesFromNode(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.getInstanceFromContent(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.makeCorrelationAttributeInstanceUsingTypeValue(), org.sleuthkit.autopsy.centralrepository.datamodel.EamArtifactUtil.makeInstanceFromContent(), org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.populateCentralRepositoryData(), org.sleuthkit.autopsy.centralrepository.eventlisteners.IngestEventsListener.AnalysisCompleteTask.run(), and org.sleuthkit.autopsy.centralrepository.eventlisteners.CaseEventListener.DataSourceAddedTask.run().

int org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getCaseID ( )
Long org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.getDataSourceObjectID ( )

Get the object id for the data source in the case db

Returns
dataSourceObjectID or NULL if not available

Definition at line 198 of file CorrelationDataSource.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.dataSourceObjectID.

Referenced by org.sleuthkit.autopsy.commonpropertiessearch.InterCaseSearchResultsProcessor.InterCaseByCaseCallback.process().

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 EamDbException
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.setSha1 ( String  sha1Hash) throws EamDbException
void org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource.setSha256 ( String  sha256Hash) throws EamDbException
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-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.