SmartCard API