emv_values.h File Reference

emv_values.h Header file More...

Go to the source code of this file.

Enumerations

enum  EMV_TAG_BYTE1 {
  EMV_TAG1_CA_PK_INDEX = 0x8F, EMV_TAG1_ISSUER_PK_CERT = 0x90, EMV_TAG1_ISSUER_PK_REMINDER = 0x92, EMV_TAG1_ISSUER_PK_EXPONENT = 0x9F,
  EMV_TAG1_SIGNED_STATIC_DATA = 0x93, EMV_TAG1_APPLICATION_TEMPLATE = 0x61
}
enum  EMV_TAG_BYTE2 {
  EMV_TAG2_CA_PK_INDEX = 0, EMV_TAG2_ISSUER_PK_CERT = 0, EMV_TAG2_ISSUER_PK_REMINDER = 0, EMV_TAG2_ISSUER_PK_EXPONENT = 0x32,
  EMV_TAG2_SIGNED_STATIC_DATA = 0, EMV_TAG2_APPLICATION_TEMPLATE = 0
}
enum  APDU_RESPONSE {
  SW1_COMPLETED = 0x90, SW1_MORE_TIME = 0x60, SW1_MORE_DATA = 0x61, SW1_WARNING1 = 0x62,
  SW1_WARNING2 = 0x63, SW1_WRONG_LENGTH = 0x6C
}

Detailed Description

emv_values.h Header file

Contains definitions of bytes used in EMV

Copyright (C) 2010 Omar Choudary (osc22@cam.ac.uk)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file emv_values.h.


Enumeration Type Documentation

Enum defining the different types of values for the status byte SW1

Enumerator:
SW1_COMPLETED 
SW1_MORE_TIME 
SW1_MORE_DATA 
SW1_WARNING1 
SW1_WARNING2 
SW1_WRONG_LENGTH 

Definition at line 55 of file emv_values.h.

Enum defining the different values for byte 1 of tag

Enumerator:
EMV_TAG1_CA_PK_INDEX 
EMV_TAG1_ISSUER_PK_CERT 
EMV_TAG1_ISSUER_PK_REMINDER 
EMV_TAG1_ISSUER_PK_EXPONENT 
EMV_TAG1_SIGNED_STATIC_DATA 
EMV_TAG1_APPLICATION_TEMPLATE 

Definition at line 30 of file emv_values.h.

Enum defining the different values for byte 2 of tag

Enumerator:
EMV_TAG2_CA_PK_INDEX 
EMV_TAG2_ISSUER_PK_CERT 
EMV_TAG2_ISSUER_PK_REMINDER 
EMV_TAG2_ISSUER_PK_EXPONENT 
EMV_TAG2_SIGNED_STATIC_DATA 
EMV_TAG2_APPLICATION_TEMPLATE 

Definition at line 42 of file emv_values.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Wed Mar 16 14:48:51 2011 for The Smart Card Detective (SCD) by  doxygen 1.6.3