Skip to content

CelikAPI (Serbian ID Reader) written from scratch. Works on Windows/Linux/MacOS.

License

Notifications You must be signed in to change notification settings

aleksaelezovic/flutter_celik_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_celik_api

A Flutter plugin for reading Serbian ID Cards. Works on Windows/Linux/MacOS. Written from scratch (APDU Commands).

Connection to card-reader is done through flutter_pcsc but you may use your own custom provider.

Usage

Pre-requisite

flutter_pcsc needs:

  • A PCSC smartcard reader.

  • On linux, pcscd & libpcsclite1 needs to be installed.

  • For macOS application to be able to use smartcard, the following entitlement should be set: com.apple.security.smartcard (in DebugProfile.entitlements & Release.entitlements files).
    If not set correctly, the context won't be able to be established.

Example

CelikAPIAllData result = await CelikAPI().readAllData();
print(result.data);
print(result.image); // base64

Features

  • Reading data
  • Reading image
  • Cert installation
  • Verification
  • Signing data
  • Changing card pin

About

CelikAPI (Serbian ID Reader) written from scratch. Works on Windows/Linux/MacOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages