ISO 7816 part 4, section..1 2 3 4 5 6 7 8 9 annex.. A B C D E F]

For the latest version of ISO7816 part 4, please contact ISO in Switzerland.

ISO 7816-4 Annex E: Examples of card profiles

E.1 Introduction

This annex defines a number of card profiles to guide application designers in selecting commands to use in their applications. The profiles may also be used to help specify the features desired in a card. Card profiles may be combined.

E.2 Profile M

Cards of this profile have as a minimum the following features and commands.

  • File structures
    • Transparent structure
    • Linear structure with records of fixed length
  • Commands
    • READ BINARY and UPDATE BINARY with P1,b8=0, Lengths up to 256 bytes
    • READ RECORD(S) and UPDATE RECORD with 
      P2,b8-4=0, 
      P2,b3=1, 
      P2,b3-1=’000′-‘011’ and P1=0
    • SELECT FILE with P1-2=’0001 or ‘0002’
    • VERIFY with P1-2=’0001′ or ‘0002’
    • INTERNAL AUTHENTICATE with P1-2=’0000′

E.3 Profile N

This profile is the same as M, plus the additional option P1=’04’ in the SELECT FILE command .

E.4 Profile O

Cards of this profile have as minimum the following features and commands

  • File structures
    • Transparent structure
    • Linear structure with records of fixed length
    • Linear structure with records of variable length
    • Cyclic structure with records of fixed length
  • Commands
    • READ BINARY, WRITE BINARY and UPDATE BINARY with P1,b8=0 Lengths up to 256 bytes.
    • READ RECORD(S), WRITE RECORD and UPDATE RECORD with 
      P2,b8-4=0, 
      P2,b3=1, 
      P2,b3-1=’000′-‘011’ and P1=0
    • APPEND RECORD with P1-2=’0000′
    • SELECT FILE with P1-2=’0001′ ord ‘0002’
    • VERIFY with P1-2=’0001′ or ‘0002’
    • INTERNAL AUTHENTICATE with P1-2=’0000′
    • EXTERNAL AUTHENTICATE with P1-2=’0000′
    • GET CHALLENGE with P1-2=’0000′

E.5 Profile P

Cards of this profile have as a minimum the following features and commands :

  • File structures
    • Transparent structure
  • Historical bytes
    • Card service data (=’3188′)
    • Initial access data (=’4164′)
  • Commands
    • READ BINARY and UPDATE BINARY with P1,b8=0, Lengths up to 64 bytes
    • SELECT FILE with P1-2=’0400′
    • VERIFY with P1-2=’0001′ or ‘0002’
    • INTERNAL AUTHENTICATE with P1-2=’0000′

E.6 Profile Q

Cards of this profile have a minimum the following features and commands
  • Historical bytes
    • Initial access data (=’45’-GET)
    • Card capabilities (=’7180′)
  • Secure messaging
  • Commands
    • GET DATA and PUT-DATA with Tag in P1-2
    • SELECT FILE with P1-2=’0401′, ‘0402’ of ‘0403’
    • VERIFY with P1=’00’
    • INTERNAL AUTHENTICATE
    • EXTERNAL AUTHENTICATE
    • GET CHALLENGE
  • Easy-to-use chip card integration with .NET library
.NET library for chip cards

with C# and VB.NET sample code for Mifare, DESFire EV1, JavaCard, KVK, eGK, SIM, PIV, CAC, HID Prox, iCLASS, SEOS and many more