7 releases

0.1.7 Oct 6, 2023
0.1.6 Apr 25, 2023
0.1.5 Mar 15, 2023
0.1.4 Aug 11, 2022
0.1.1 Mar 31, 2021

#1336 in Cryptography

Download history 1621/week @ 2024-01-03 1724/week @ 2024-01-10 2718/week @ 2024-01-17 2011/week @ 2024-01-24 2768/week @ 2024-01-31 2812/week @ 2024-02-07 2768/week @ 2024-02-14 3240/week @ 2024-02-21 3167/week @ 2024-02-28 3618/week @ 2024-03-06 3818/week @ 2024-03-13 2861/week @ 2024-03-20 2488/week @ 2024-03-27 3048/week @ 2024-04-03 2075/week @ 2024-04-10 1840/week @ 2024-04-17

9,944 downloads per month
Used in 10 crates (3 directly)

Apache-2.0

1.5MB
49K 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