The Kinegram eMRTD Connector enables your Android app to read and verify electronic passports / id cards (eMRTDs).
┌───────────────┐ Results ┌─────────────────┐
│ DocVal Server │────────────────▶│ Your Server │
└───────────────┘ └─────────────────┘
▲
│ WebSocket
▼
┏━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ eMRTD Connector ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━┛
▲
│ NFC
▼
┌──────────────┐
│ │
│ PASSPORT │
│ │
│ ID CARD │
│ │
│ │
│ (eMRTD) │
│ │
└──────────────┘
The Kinegram eMRTD Connector enables the Document Validation Server (DocVal) to communicate with the eMRTD through a secure WebSocket connection.
This library follows Semantic Versioning 2.0.0
This project contains an Example App to demonstrate usage and functionality.
First enable adb debugging on the mobile device and plug it in.
On a system with a Unix shell and make run:
makeThe (short and very readable) Makefile covers building, running and more.
Alternatively just open the project with Android Studio and click run.
Add the dependencies to your app’s gradle build configuration.
app/build.gradle) file to include the
emrtdconnector dependency.<version> with the version you want to
use.// app/build.gradle.kts
dependencies {
...
implementation("com.kinegram.android:emrtdconnector:<version>")
}// build.gradle.kts
android {
...
// Resolve all conflicts of duplicated files in dependencies
packagingOptions.resources.excludes += "META-INF/versions/9/OSGI-INF/MANIFEST.MF"
}
// app/build.gradle
dependencies {
...
implementation 'com.kinegram.android:emrtdconnector:<version>'
}// build.gradle
android {
packagingOptions {
resources {
excludes += 'META-INF/versions/9/OSGI-INF/MANIFEST.MF'
}
}
}Open the Dokka Documentation in your preferred browser.
There is also a JavaDoc Documentation available if you prefer the old JavaDoc style.