|
Sleuth Kit Java Bindings (JNI) 4.14.0
Java bindings for using The Sleuth Kit
|
Inherits org.sleuthkit.datamodel.AbstractContent.
Classes | |
| class | OsAccountAttribute |
| enum | OsAccountDbStatus |
| enum | OsAccountStatus |
| enum | OsAccountType |
Additional Inherited Members | |
| Static Public Attributes inherited from org.sleuthkit.datamodel.AbstractContent | |
| static final long | UNKNOWN_ID = -1 |
| Protected Member Functions inherited from org.sleuthkit.datamodel.AbstractContent | |
| AbstractContent (SleuthkitCase db, long obj_id, String name) | |
| Protected Attributes inherited from org.sleuthkit.datamodel.AbstractContent | |
| long | parentId |
Abstracts an OS user account. OS Accounts have a scope, which is defined by their parent OsAccountRealm.
An OS user account may own files and (some) artifacts.
OsAcounts can be created with minimal data and updated as more is learned. Caller must call update() to save any new data.
Definition at line 35 of file OsAccount.java.
| void org.sleuthkit.datamodel.OsAccount.close | ( | ) |
Free native resources after read is done on the Content object. After closing, read can be called again on the same Content object, which should result in re-opening of new native resources.
Implements org.sleuthkit.datamodel.Content.
Definition at line 389 of file OsAccount.java.
| Optional< String > org.sleuthkit.datamodel.OsAccount.getAddr | ( | ) |
Get the unique identifier for the account, such as UID or SID. The id is unique within the account realm.
Definition at line 269 of file OsAccount.java.
| Optional< Long > org.sleuthkit.datamodel.OsAccount.getCreationTime | ( | ) |
Get account creation time.
Definition at line 316 of file OsAccount.java.
| synchronized List< OsAccountAttribute > org.sleuthkit.datamodel.OsAccount.getExtendedOsAccountAttributes | ( | ) | throws TskCoreException |
Get additional account attributes.
| TskCoreException |
Definition at line 354 of file OsAccount.java.
| Optional< String > org.sleuthkit.datamodel.OsAccount.getFullName | ( | ) |
Get account user full name, such as "John Doe"
Definition at line 307 of file OsAccount.java.
| long org.sleuthkit.datamodel.OsAccount.getId | ( | ) |
Get the account Object Id that is unique within the scope of the case.
Reimplemented from org.sleuthkit.datamodel.AbstractContent.
Definition at line 259 of file OsAccount.java.
Referenced by org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute(), org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute(), org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute(), org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute(), and org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.OsAccountAttribute().
| Optional< String > org.sleuthkit.datamodel.OsAccount.getLoginName | ( | ) |
Get account login name, such as "jdoe"
Definition at line 289 of file OsAccount.java.
| OsAccountDbStatus org.sleuthkit.datamodel.OsAccount.getOsAccountDbStatus | ( | ) |
Get account status in the database.
Definition at line 343 of file OsAccount.java.
| synchronized List< OsAccountInstance > org.sleuthkit.datamodel.OsAccount.getOsAccountInstances | ( | ) | throws TskCoreException |
Return the os account instances.
| TskCoreException |
Definition at line 368 of file OsAccount.java.
| Optional< OsAccountStatus > org.sleuthkit.datamodel.OsAccount.getOsAccountStatus | ( | ) |
Get account status.
Definition at line 334 of file OsAccount.java.
| Optional< OsAccountType > org.sleuthkit.datamodel.OsAccount.getOsAccountType | ( | ) |
| long org.sleuthkit.datamodel.OsAccount.getRealmId | ( | ) |
Get the ID for the account realm. Get the Realm via OsAccountRealmManager.getRealmByRealmId() NOTE: The realm may get updated as more data is parsed, so listen for events to update as needed.
Definition at line 280 of file OsAccount.java.
| long org.sleuthkit.datamodel.OsAccount.getSize | ( | ) |
Get the (reported) size of the content object and, in theory, how much you should be able to read from it. In some cases, data corruption may mean that you cannot read this much data.
Implements org.sleuthkit.datamodel.Content.
Definition at line 394 of file OsAccount.java.
| SleuthkitCase org.sleuthkit.datamodel.OsAccount.getSleuthkitCase | ( | ) |
Gets the SleuthKit case database for this account.
Reimplemented from org.sleuthkit.datamodel.AbstractContent.
Definition at line 378 of file OsAccount.java.
| int org.sleuthkit.datamodel.OsAccount.read | ( | byte[] | buf, |
| long | offset, | ||
| long | len ) throws TskCoreException |
Reads data that this content object is associated with (file contents, volume contents, etc.).
| buf | a character array of data (in bytes) to copy read data to |
| offset | byte offset in the content to start reading from |
| len | number of bytes to read into buf. |
| TskCoreException | if critical error occurred during read in the tsk core |
Implements org.sleuthkit.datamodel.Content.
Definition at line 383 of file OsAccount.java.
Copyright © 2011-2024 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.