Secure Credential Card (SCC) and AoC have different identity structures. Because of this, many customers struggle with writing data to SCCs and assigning them to users. 


Here are some things to keep in mind when you write & read the Secure credential card through the SDK. 

  • BS2CSNCard.type must be set to 0x02. (0x03 AoC) 
  • BS2CSNCard.data full 32 bytes are used for card ID on AoC. However, SCC is different : Card ID (24byte) + issueCount (4byte) + TimeStamp (4byte)
  • The same value of Issue Count and Time Stamp on BS2CSNCard.data should be specified on BS2SmartCardHeader too. 
  • Issue count and time stamp are free values for ease of management. In other words, even if the time or count at the time of issue is different, there is no problem in operation.
  • Card ID must be registered in cardObj of Userblob. In other words, this information is the first 24-byte of BS2CSNCard.data.


Please find the sample code for writing Secure Credential card through the SDK.

sccard.7z - http://gofile.me/471Oh/pW0fjwece 


For more details of Smartcard structure, please refer to the link here : http://kb.supremainc.com/bs2sdk/doku.php?id=en:smartcard_api