10 releases

new 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

#1255 in Cryptography

Download history 3701/week @ 2024-10-28 3085/week @ 2024-11-04 3970/week @ 2024-11-11 5370/week @ 2024-11-18 3236/week @ 2024-11-25 4336/week @ 2024-12-02 5394/week @ 2024-12-09 8272/week @ 2024-12-16 2649/week @ 2024-12-23 3580/week @ 2024-12-30 8680/week @ 2025-01-06 9801/week @ 2025-01-13 10097/week @ 2025-01-20 11444/week @ 2025-01-27 10742/week @ 2025-02-03 11937/week @ 2025-02-10

44,437 downloads per month
Used in 10 crates (3 directly)

Apache-2.0

4.5MB
131K 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