Chapter 1. Understanding smart card authentication