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

Inherits org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Public Member Functions

 BINRange (int BIN_start, int BIN_end, Integer number_length, String scheme, String brand, String type, String country, String bank_name, String bank_url, String bank_phone, String bank_city)
 
Optional< String > getBankCity ()
 
Optional< String > getBankName ()
 
Optional< String > getBankPhoneNumber ()
 
Optional< String > getBankURL ()
 
int getBINend ()
 
int getBINstart ()
 
Optional< String > getBrand ()
 
Optional< String > getCardType ()
 
Optional< String > getCountry ()
 
Optional< Integer > getNumberLength ()
 
Optional< String > getScheme ()
 

Private Attributes

final String bankCity
 
final String bankName
 
final String bankPhoneNumber
 
final String bankURL
 
final int BINEnd
 
final int BINStart
 
final String brand
 
final String cardType
 
final String country
 
final Integer numberLength
 
final String scheme
 

Detailed Description

Details of a range of Bank Identification Number(s) (BIN) used by a bank.

Definition at line 30 of file BINRange.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.accounts.BINRange.BINRange ( int  BIN_start,
int  BIN_end,
Integer  number_length,
String  scheme,
String  brand,
String  type,
String  country,
String  bank_name,
String  bank_url,
String  bank_phone,
String  bank_city 
)

Constructor

Parameters
BIN_startthe first BIN in the range, must be 8 digits
BIN_endthe last(inclusive) BIN in the range, must be 8 digits
number_lengththe length of account numbers in this BIN range
schemeamex/visa/mastercard/etc
brandthe brand of this BIN range
typecredit vs debit
countrythe country of the issuer
bank_namethe name of the issuer
bank_urlthe url of the issuer
bank_phonethe phone number of the issuer
bank_citythe city of the issuer

Definition at line 69 of file BINRange.java.

Member Function Documentation

Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBankCity ( )

Get the city of the issuer.

Returns
the city of the issuer.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 143 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getBankCity().

Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBankName ( )

Get the name of the issuer.

Returns
the name of the issuer.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 128 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getBankName().

Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBankPhoneNumber ( )

Get the phone number of the issuer.

Returns
the phone number of the issuer.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 138 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getBankPhoneNumber().

Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBankURL ( )

Get the URL of the issuer.

Returns
the URL of the issuer.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 133 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getBankURL().

int org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBINend ( )

Get the last (inclusive) BIN in this range.

Returns
the last (inclusive) BIN in this range.

Definition at line 98 of file BINRange.java.

References org.sleuthkit.autopsy.datamodel.accounts.BINRange.BINEnd.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BINFactory.createKeys(), and org.sleuthkit.autopsy.datamodel.CreditCards.loadBINRanges().

int org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBINstart ( )
Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getBrand ( )

Get the brand of this BIN range.

Returns
the brand of this BIN range.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 113 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getBrand().

Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getCardType ( )

Get the type of card (credit vs debit) for this BIN range.

Returns
the type of cards in this BIN range.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 118 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getCardType().

Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getCountry ( )

Get the country of the issuer.

Returns
the country of the issuer.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 123 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getCountry().

Optional<Integer> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getNumberLength ( )

Get the length of account numbers in this BIN range.

NOTE: the length is currently unused, and not in the data file for any ranges. It could be quite helpfull for validation...

Returns
the length of account numbers in this BIN range. Or an empty Optional if the length is unknown.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 103 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getNumberLength().

Optional<String> org.sleuthkit.autopsy.datamodel.accounts.BINRange.getScheme ( )

Get the scheme this BIN range uses to amex,visa,mastercard, etc

Returns
the scheme this BIN range uses.

Implements org.sleuthkit.autopsy.datamodel.CreditCards.BankIdentificationNumber.

Definition at line 108 of file BINRange.java.

Referenced by org.sleuthkit.autopsy.datamodel.accounts.Accounts.BinResult.getScheme().

Member Data Documentation

final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.bankCity
private

Definition at line 49 of file BINRange.java.

final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.bankName
private

Definition at line 48 of file BINRange.java.

final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.bankPhoneNumber
private

Definition at line 51 of file BINRange.java.

final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.bankURL
private

Definition at line 50 of file BINRange.java.

final int org.sleuthkit.autopsy.datamodel.accounts.BINRange.BINEnd
private
final int org.sleuthkit.autopsy.datamodel.accounts.BINRange.BINStart
private
final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.brand
private

Definition at line 41 of file BINRange.java.

final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.cardType
private

DEBIT, CREDIT

Definition at line 46 of file BINRange.java.

final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.country
private

Definition at line 47 of file BINRange.java.

final Integer org.sleuthkit.autopsy.datamodel.accounts.BINRange.numberLength
private

Definition at line 35 of file BINRange.java.

final String org.sleuthkit.autopsy.datamodel.accounts.BINRange.scheme
private

AMEX, VISA, MASTERCARD, DINERS, DISCOVER, UNIONPAY

Definition at line 40 of file BINRange.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.