Autopsy  4.21.0
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

Constructor & Destructor Documentation

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

Creates a cookie object from the given array of bytes.

cookieBytesByte array for the cookie

Definition at line 333 of file

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 

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

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

Definition at line 424 of file

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.

Cookie creation date in milliseconds with java epoch

Definition at line 375 of file

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

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

Cookie expiration date in milliseconds with java epoch

Definition at line 365 of file

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

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

The cookie name

Definition at line 393 of file


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

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

The cookie path

Definition at line 402 of file

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.

the cookie URL

Definition at line 384 of file

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.

The cookie value

Definition at line 411 of file

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

Member Data Documentation

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

Definition at line 321 of file

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

Definition at line 320 of file

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

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.