9 releases

0.2.0 Nov 14, 2024
0.1.8 Jun 18, 2024
0.1.7 Oct 6, 2023
0.1.6 Apr 25, 2023
0.1.1 Mar 31, 2021

#1509 in Cryptography

Download history 2739/week @ 2024-10-02 2734/week @ 2024-10-09 3377/week @ 2024-10-16 3319/week @ 2024-10-23 3592/week @ 2024-10-30 3075/week @ 2024-11-06 4680/week @ 2024-11-13 4979/week @ 2024-11-20 3518/week @ 2024-11-27 4133/week @ 2024-12-04 7102/week @ 2024-12-11 6440/week @ 2024-12-18 2095/week @ 2024-12-25 5410/week @ 2025-01-01 9034/week @ 2025-01-08 9943/week @ 2025-01-15

26,823 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