Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.CreditCards Class Reference


interface  BankIdentificationNumber

Static Public Member Functions

static synchronized BankIdentificationNumber getBINInfo (int bin)

Static Private Member Functions

synchronized static void loadBINRanges ()

Static Private Attributes

static final RangeMap< Integer, BINRangebinRanges = TreeRangeMap.create()
static boolean binsLoaded = false
static final Logger LOGGER = Logger.getLogger(CreditCards.class.getName())

Detailed Description

Definition at line 19 of file

Member Function Documentation

static synchronized BankIdentificationNumber org.sleuthkit.autopsy.datamodel.CreditCards.getBINInfo ( int  bin)

Get an BINInfo object with details about the given BIN

binthe BIN to get details of.

Definition at line 167 of file

References org.sleuthkit.autopsy.datamodel.CreditCards.binRanges, and org.sleuthkit.autopsy.datamodel.CreditCards.loadBINRanges().

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.ByBINNode.BINFactory.createKeys().

synchronized static void org.sleuthkit.autopsy.datamodel.CreditCards.loadBINRanges ( )

Load the BIN range information from disk. If the map has already been initialized, don't load again.

Because ranges.csv allows both 6 and (the newer) 8 digit BINs, but we need a consistent length for the range map, we pad all the numbers out to 8 digits

Definition at line 111 of file

References org.sleuthkit.autopsy.datamodel.CreditCards.binRanges, org.sleuthkit.autopsy.datamodel.CreditCards.binsLoaded, org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBINend(), org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBINstart(), and org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.warn().

Referenced by org.sleuthkit.autopsy.datamodel.CreditCards.getBINInfo().

Member Data Documentation

final RangeMap<Integer, BINRange> org.sleuthkit.autopsy.datamodel.CreditCards.binRanges = TreeRangeMap.create()

Range Map from a (ranges of) BINs to data model object with details of the BIN, ie, bank name, phone, url, visa/amex/mastercard/...,

Definition at line 99 of file

Referenced by org.sleuthkit.autopsy.datamodel.CreditCards.getBINInfo(), and org.sleuthkit.autopsy.datamodel.CreditCards.loadBINRanges().

boolean org.sleuthkit.autopsy.datamodel.CreditCards.binsLoaded = false

Flag for if we have loaded the BINs from the file already.

Definition at line 105 of file

Referenced by org.sleuthkit.autopsy.datamodel.CreditCards.loadBINRanges().

final Logger org.sleuthkit.autopsy.datamodel.CreditCards.LOGGER = Logger.getLogger(CreditCards.class.getName())

Definition at line 93 of file

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

Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 25 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.