pcsc_wrapper 4.0.1 copy "pcsc_wrapper: ^4.0.1" to clipboard
pcsc_wrapper: ^4.0.1 copied to clipboard

Dart PCSC Wrapper Library

pcsc_wrapper #

Overview #

pcsc_wrapper is a Dart FFI (Foreign Function Interface) wrapper for the PC/SC (Personal Computer/Smart Card) API. It allows you to interact with smart card readers and smart cards directly from your Dart applications.

Platform Support #

Platform Status Notes
Linux ✅ Available Implementation provided.
macOS ⚠️ Experimental Implementation provided.
Windows ❌ Not Supported No implementation available at this time.

Features #

  • Pure Dart FFI Implementation: Uses dart:ffi to bind directly to system libraries.
  • Native bindings to the PC/SC (winscard) interface.
  • A Dart-friendly API for common smart card operations.
  • Low-level access to readers and cards via Dart's FFI mechanism.
  • Lightweight and efficient.

Prerequisites #

  • Dart SDK
  • PC/SC middleware installed on your system:
    • Linux: libpcsclite1 and libpcsclite-dev
    • macOS: PCSC framework (usually built-in)

Installation #

Add the following to your pubspec.yaml:

dependencies:
  pcsc_wrapper: ^[version]

License #

This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.

Contributing #

Contributions are welcome! Whether it's testing on macOS, adding Windows support, or fixing bugs, please feel free to submit a Pull Request.

2
likes
120
points
326
downloads

Publisher

unverified uploader

Weekly Downloads

Dart PCSC Wrapper Library

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi

More

Packages that depend on pcsc_wrapper