Commit Graph
14 Commits
Author SHA1 Message Date
Andrea Franz 1ae29cd1cd rename Keys to SCP02Keys 2018-11-22 13:07:43 +01:00
Andrea Franz 346ab46187 rename APDUWrapper to SCP02Wrapper 2018-11-22 13:01:09 +01:00
Andrea Franz 41f2473f64 rename smartcard pkg to globalplatform 2018-11-22 12:57:19 +01:00
Andrea Franz 4399be35a4 rename deriveKey to deriveSCP02SessionKey 2018-11-22 12:55:58 +01:00
Andrea Franz ed7630bada improve appendDESPadding from the imported library 2018-11-22 12:48:03 +01:00
Andrea Franz 801accdde3 implement globalplatform secure channel commands 2018-11-21 18:14:01 +01:00
Michele Balistreri 002ade1c74 add conversion from keypath data to string 2018-11-16 11:12:33 +03:00
Andrea Franz f646e5d8ee Card listener (#8)
* update listener interface to have onDisconnected callback

* allow custom loop time

* check that cardListener is not null before invoking it
2018-11-15 21:25:08 +03:00
Michele Balistreri 931b6608d5 Closes #6, #7 2018-11-15 20:16:18 +03:00
Michele Balistreri 70b50c8989 Closes #5 2018-11-14 18:27:39 +03:00
Michele Balistreri 8b4e66e50b Add higher-level classes and improve the demo 2018-11-14 17:52:59 +03:00
Michele Balistreri f4fd086467 Closes #3 2018-11-14 11:41:00 +03:00
Bitgamma eb9f3f1350 [WIP] Update to version 2 (#2)
* v2

* add SET NDEF

* make a few constants public

* improve secure channel handling

* improve secure channel handling

* improve secure channel handling
2018-11-13 16:33:44 +03:00
ligi 8950e15c2f Extract library (#1)
* Use gradle 3.2.1

* Use gradle 4.10.2

* Cleanup - this is not needed

* Cleanup

* Cleanup

* Leverage SystemClock

* Cleanup

* Separate the Application specific code

* Extract library

* Do not bleed out BouncyCastle into library API

Also change the logging as we do not have the byte[]->hex method from spongycastle anymore
2018-10-27 07:29:41 +02:00