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

Public Member Functions

final Long getCreationDate ()
 
final Long getExpirationDate ()
 
final String getName ()
 
final String getPath ()
 
final String getURL ()
 
final String getValue ()
 

Protected Member Functions

 Cookie (byte[] cookieBytes)
 

Private Member Functions

String decodeString (byte[] byteArray, int offset)
 

Private Attributes

final double creationDate
 
final double expirationDate
 
final String name
 
final String path
 
final String url
 
final String value
 

Static Private Attributes

static final int COOKIE_HEAD_SKIP = 16
 

Detailed Description

Represents an instance of a cookie from the binarycookie file.

Definition at line 316 of file BinaryCookieReader.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.Cookie ( byte[]  cookieBytes)
protected

Creates a cookie object from the given array of bytes.

Parameters
cookieBytesByte array for the cookie

Definition at line 333 of file BinaryCookieReader.java.

References org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.COOKIE_HEAD_SKIP, and org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.decodeString().

Member Function Documentation

String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.decodeString ( byte[]  byteArray,
int  offset 
)
private

Creates an ascii string from the bytes in byteArray starting at offset ending at the first null terminator found.

Parameters
byteArrayArray of bytes
offsetstarting offset in the array
Returns
String with bytes converted to ascii

Definition at line 424 of file BinaryCookieReader.java.

Referenced by org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.Cookie().

final Long org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.getCreationDate ( )

Returns the creation date of the cookie represented by this cookie object.

Returns
Cookie creation date in milliseconds with java epoch

Definition at line 375 of file BinaryCookieReader.java.

final Long org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.getExpirationDate ( )

Returns the expiration date of the cookie represented by this cookie object.

Returns
Cookie expiration date in milliseconds with java epoch

Definition at line 365 of file BinaryCookieReader.java.

final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.getName ( )

Returns the name of the cookie represented by this cookie object.

Returns
The cookie name

Definition at line 393 of file BinaryCookieReader.java.

References org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.name.

final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.getPath ( )

Returns the path of the cookie represented by this cookie object.

Returns
The cookie path

Definition at line 402 of file BinaryCookieReader.java.

References org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.path.

final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.getURL ( )

Returns the url of the cookie represented by this cookie object.

Returns
the cookie URL

Definition at line 384 of file BinaryCookieReader.java.

References org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.url.

final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.getValue ( )

Returns the value of the cookie represented by this cookie object.

Returns
The cookie value

Definition at line 411 of file BinaryCookieReader.java.

References org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.value.

Member Data Documentation

final int org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.COOKIE_HEAD_SKIP = 16
staticprivate
final double org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.creationDate
private

Definition at line 321 of file BinaryCookieReader.java.

final double org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.expirationDate
private

Definition at line 320 of file BinaryCookieReader.java.

final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.name
private
final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.path
private
final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.url
private
final String org.sleuthkit.autopsy.recentactivity.BinaryCookieReader.Cookie.value
private

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

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