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

Classes

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 37 of file CreditCards.java.

Member Function Documentation

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

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 131 of file CreditCards.java.

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()
staticprivate

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 119 of file CreditCards.java.

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

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

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

Definition at line 125 of file CreditCards.java.

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

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

Definition at line 111 of file CreditCards.java.


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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.