10 releases

0.3.0 Feb 17, 2025
0.2.0 Nov 14, 2024
0.1.8 Jun 18, 2024
0.1.7 Oct 6, 2023
0.1.1 Mar 31, 2021

#918 in Cryptography

Download history 4081/week @ 2024-12-20 2641/week @ 2024-12-27 8017/week @ 2025-01-03 9516/week @ 2025-01-10 10206/week @ 2025-01-17 11053/week @ 2025-01-24 11249/week @ 2025-01-31 11079/week @ 2025-02-07 12780/week @ 2025-02-14 12241/week @ 2025-02-21 11362/week @ 2025-02-28 11394/week @ 2025-03-07 11777/week @ 2025-03-14 10355/week @ 2025-03-21 7857/week @ 2025-03-28 8769/week @ 2025-04-04

40,807 downloads per month
Used in 10 crates (3 directly)

Apache-2.0

3MB
75K SLoC

Cryptoki Rust Wrapper

Crates.io Code documentation

This is the low-level wrapper crate for PKCS #11 exposing the bindgen types.

Generating bindings

The FFI bindings presented by this crate can be either those committed in the crate under src/bindings or generated on the fly from the pkcs11.h file at build time. For generating the bindings at build time please enable the generate-bindings feature, as it is not enabled by default.

NOTE: Only a limited set of bindings are committed and their target triplet is included in the name of the file - if the triplet you require is not available, feel free to raise a Pull Request to add it or to use build-time generation of bindings. All the committed bindings MUST be generated from the library version found under the vendor submodule.

Copyright 2021 Contributors to the Parsec project.

Dependencies