-
-
Notifications
You must be signed in to change notification settings - Fork 48
Smart Card Apps
Martin Paljak edited this page Apr 4, 2021
·
1 revision
- apps must implement
SmartCardApp
fromapdu4j.core
and be to be usable apdu4j CLI, be loadable withServiceLoader
- simple apps implement
SimpleSmartCardApp
fomrapdu4j.core
, overridingint run(BIBO bibo, String[] argv)
(much likepublic static void main(String[] argv)
) - more complex apps shall implement
SmartCardAppListener
and override at leastCompletableFuture<AppParameters> onStart(String[] argv)
andvoid onCardPresent(AsynchronousBIBO bibo, CardData card)
-
apdu4j-core
(current version2020r3
) asprovided
- single
- drop
foobar.jar
file into~/.apdu4j/apps/
to have an app calledfoobar
(in addition to whatever name the included implementation gives asString getName()