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

#1175 in Cryptography

Download history 2249/week @ 2024-01-28 2876/week @ 2024-02-04 2688/week @ 2024-02-11 3025/week @ 2024-02-18 3482/week @ 2024-02-25 3192/week @ 2024-03-03 3925/week @ 2024-03-10 3121/week @ 2024-03-17 2693/week @ 2024-03-24 2795/week @ 2024-03-31 2474/week @ 2024-04-07 2215/week @ 2024-04-14 2595/week @ 2024-04-21 2372/week @ 2024-04-28 3222/week @ 2024-05-05 2892/week @ 2024-05-12

11,183 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