#certificate #card #read #sign #document #cross-platform #jpki

nightly jpki-ffi-generic

Generic FFI binding of jpki-rs for C/C++ and many other languages

3 releases

0.4.3 Oct 21, 2023
0.4.1 Oct 2, 2022
0.4.0 Oct 2, 2022

#2348 in Cryptography

LGPL-2.1-or-later

37KB
783 lines

jpki-rs

crates.io docs Rust

Read certificates, sign and verify documents using your JPKI card.

💻 Supported Platforms

These targets are tested continuously:

  • x86_64-pc-windows-msvc
  • x86_64-apple-darwin
  • aarch64-apple-darwin
  • x86_64-unknown-linux-gnu
  • aarch64-linux-android
  • armv7-linux-androideabi

Since this crate is fully cross-platform, we are welcome to add a new platform to this list :)

📦 Getting Started

Add to your Cargo.toml as a dependency as follows:

[dependencies]
jpki = "0.4"

✨ Features

  • pcsc: PC/SC support for communicating with your cards (non-default).
  • tracing: Logging feature on tracing ecosystem (non-default).

💚 Example

See jpki-cli for an example usage of this crate.

🔗 References

Dependencies

~1.3–2.8MB
~53K SLoC