#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

#2276 in Cryptography

Download history 1/week @ 2024-02-14 14/week @ 2024-02-21 11/week @ 2024-02-28 16/week @ 2024-03-27 35/week @ 2024-04-03

51 downloads per month

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

~0.4–2.2MB
~36K SLoC