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

#1066 in Cryptography

Download history 4436/week @ 2024-11-21 3755/week @ 2024-11-28 4119/week @ 2024-12-05 7930/week @ 2024-12-12 5008/week @ 2024-12-19 2086/week @ 2024-12-26 6999/week @ 2025-01-02 9245/week @ 2025-01-09 10096/week @ 2025-01-16 11234/week @ 2025-01-23 11249/week @ 2025-01-30 10636/week @ 2025-02-06 12976/week @ 2025-02-13 12055/week @ 2025-02-20 11595/week @ 2025-02-27 11408/week @ 2025-03-06

50,346 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