Java utility and source code for everything and anything related to EstEID:
-
Fetch and build the software (requires Unix-like OS)
git clone https://github.com/martinpaljak/esteidhacker.git cd esteidhacker ant
-
In this README
esteid
is used as an alias forjava -jar esteid-app.jar
.esteid.exe
can be used on Windows.
- apdu4j (MIT)
- BouncyCastle JCE provider + PKIX (MIT)
Mixed LGPL/MIT, please check individual files! Other options available upon request.
- Planned:
- Pinpad support for PC/SC readers
- Wishlist:
- A GUI maybe, not unlike qesteidutil?
Encapsulates all the APDU protocol knowledge and exposes high-level and meaningful API for making operations with the card (more precisely: on-card application). Can talk to any PC/SC terminal or somethig else exposed via javax.smartcardio
CommandAPDU/ResponseAPDU pairs.
Exception handling:
- IOException when transmit fails
- EstEIDException when card protocol (or data formats) have unexpected situations
- WrongPINException when a passed in PIN is incorrect
Source: EstEID.java
- https://github.com/sleepless/jesteid
- Very verbose but educating to read. Parses a lot of data.
- http://blog.codeborne.com/2010/10/javaxsmartcardio-and-esteid.html
- Simple sample on how to read personal data file.
- https://eid.eesti.ee/index.php/Sample_applications#Claims_application
- Complete "ecosystem" sample but not easily re-usable.
- esteid.c
- :( not yet in code
- MOCCA - EstEIDCard.java http://git.egiz.gv.at/mocca/
- :) Java
- :| ... messy
All about the EstEID