Sleuth Kit Java Bindings (JNI)  4.11.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.OsAccount.OsAccountAttribute Class Reference

Inherits org.sleuthkit.datamodel.AbstractAttribute.

Public Member Functions

 OsAccountAttribute (BlackboardAttribute.Type attributeType, int valueInt, OsAccount osAccount, Host host, Content sourceObj)
 
 OsAccountAttribute (BlackboardAttribute.Type attributeType, long valueLong, OsAccount osAccount, Host host, Content sourceObj)
 
 OsAccountAttribute (BlackboardAttribute.Type attributeType, double valueDouble, OsAccount osAccount, Host host, Content sourceObj)
 
 OsAccountAttribute (BlackboardAttribute.Type attributeType, String valueString, OsAccount osAccount, Host host, Content sourceObj)
 
 OsAccountAttribute (BlackboardAttribute.Type attributeType, byte[] valueBytes, OsAccount osAccount, Host host, Content sourceObj)
 
Optional< Long > getHostId ()
 
long getOsAccountObjectId ()
 
Optional< Long > getSourceObjectId ()
 
- Public Member Functions inherited from org.sleuthkit.datamodel.AbstractAttribute
 AbstractAttribute (BlackboardAttribute.Type attributeType, int valueInt)
 
 AbstractAttribute (BlackboardAttribute.Type attributeType, long valueLong)
 
 AbstractAttribute (BlackboardAttribute.Type attributeType, double valueDouble)
 
 AbstractAttribute (BlackboardAttribute.Type attributeType, String valueString)
 
 AbstractAttribute (BlackboardAttribute.Type attributeType, byte[] valueBytes)
 
BlackboardAttribute.Type getAttributeType ()
 
String getDisplayString ()
 
byte[] getValueBytes ()
 
double getValueDouble ()
 
int getValueInt ()
 
long getValueLong ()
 
String getValueString ()
 
BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE getValueType ()
 

Detailed Description

Abstracts attributes of an OS account. An attribute may be specific to a host, or applicable across all hosts.

As an example, last login time is host specific, whereas last password reset date is independent of a host.

Definition at line 415 of file OsAccount.java.

Constructor & Destructor Documentation

org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute ( BlackboardAttribute.Type  attributeType,
int  valueInt,
OsAccount  osAccount,
Host  host,
Content  sourceObj 
)

Creates an os account attribute with int value.

Parameters
attributeTypeAttribute type.
valueIntInt value.
osAccountAccount which the attribute pertains to.
hostHost on which the attribute applies to. Pass Null if the attribute applies to all the hosts in the realm.
sourceObjSource where the attribute was found, may be null.

Definition at line 433 of file OsAccount.java.

References org.sleuthkit.datamodel.Host.getHostId(), org.sleuthkit.datamodel.Content.getId(), and org.sleuthkit.datamodel.OsAccount.getId().

org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute ( BlackboardAttribute.Type  attributeType,
long  valueLong,
OsAccount  osAccount,
Host  host,
Content  sourceObj 
)

Creates an os account attribute with long value.

Parameters
attributeTypeAttribute type.
valueLongLong value.
osAccountAccount which the attribute pertains to.
hostHost on which the attribute applies to. Pass Null if it applies across hosts.
sourceObjSource where the attribute was found.

Definition at line 451 of file OsAccount.java.

References org.sleuthkit.datamodel.Host.getHostId(), org.sleuthkit.datamodel.Content.getId(), and org.sleuthkit.datamodel.OsAccount.getId().

org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute ( BlackboardAttribute.Type  attributeType,
double  valueDouble,
OsAccount  osAccount,
Host  host,
Content  sourceObj 
)

Creates an os account attribute with double value.

Parameters
attributeTypeAttribute type.
valueDoubleDouble value.
osAccountAccount which the attribute pertains to.
hostHost on which the attribute applies to. Pass Null if it applies across hosts.
sourceObjSource where the attribute was found.

Definition at line 469 of file OsAccount.java.

References org.sleuthkit.datamodel.Host.getHostId(), org.sleuthkit.datamodel.Content.getId(), and org.sleuthkit.datamodel.OsAccount.getId().

org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute ( BlackboardAttribute.Type  attributeType,
String  valueString,
OsAccount  osAccount,
Host  host,
Content  sourceObj 
)

Creates an os account attribute with string value.

Parameters
attributeTypeAttribute type.
valueStringString value.
osAccountAccount which the attribute pertains to.
hostHost on which the attribute applies to. Pass Null if applies across hosts.
sourceObjSource where the attribute was found.

Definition at line 487 of file OsAccount.java.

References org.sleuthkit.datamodel.Host.getHostId(), org.sleuthkit.datamodel.Content.getId(), and org.sleuthkit.datamodel.OsAccount.getId().

org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute ( BlackboardAttribute.Type  attributeType,
byte[]  valueBytes,
OsAccount  osAccount,
Host  host,
Content  sourceObj 
)

Creates an os account attribute with byte-array value.

Parameters
attributeTypeAttribute type.
valueBytesBytes value.
osAccountAccount which the attribute pertains to.
hostHost on which the attribute applies to. Pass Null if it applies across hosts.
sourceObjSource where the attribute was found.

Definition at line 505 of file OsAccount.java.

References org.sleuthkit.datamodel.Host.getHostId(), org.sleuthkit.datamodel.Content.getId(), and org.sleuthkit.datamodel.OsAccount.getId().

Member Function Documentation

Optional<Long> org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.getHostId ( )

Get the host id for the account attribute.

Returns
Optional with Host id.

Definition at line 545 of file OsAccount.java.

long org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.getOsAccountObjectId ( )

Get the object id of account to which this attribute applies.

Returns
Account row id.

Definition at line 554 of file OsAccount.java.

Optional<Long> org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.getSourceObjectId ( )

Get the object id of the source where the attribute was found.

Returns
Object id of source.

Definition at line 563 of file OsAccount.java.


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

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.