# jpki-rs [![crates.io](https://img.shields.io/crates/v/jpki.svg)](https://crates.io/crates/jpki) [![docs](https://docs.rs/jpki/badge.svg)](https://docs.rs/jpki/) [![Rust](https://github.com/siketyan/jpki-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/siketyan/jpki-rs/actions/workflows/rust.yml) 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: ```toml [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](./cli) for an example usage of this crate. ## 🔗 References - "Technical Specifications and Utilization Methods of My Number Cards" by Fujitsu Co., Ltd. https://www.fujitsu.com/jp/documents/about/resources/publications/magazine/backnumber/vol68-4/paper10.pdf" - "認証局の運営" by Japan Agency for Local Authority Information Systems https://www.jpki.go.jp/ca/index.html - jpki/myna https://github.com/jpki/myna