#pkcs11 #cryptoki #hsm

sys cryptoki-sys

FFI wrapper around the PKCS #11 API

4 releases

0.1.3 Jan 14, 2022
0.1.2 Aug 3, 2021
0.1.1 Mar 31, 2021
0.1.0 Mar 18, 2021

#116 in Hardware support

Download history 32/week @ 2021-10-02 151/week @ 2021-10-09 182/week @ 2021-10-16 175/week @ 2021-10-23 184/week @ 2021-10-30 167/week @ 2021-11-06 166/week @ 2021-11-13 291/week @ 2021-11-20 207/week @ 2021-11-27 152/week @ 2021-12-04 80/week @ 2021-12-11 36/week @ 2021-12-18 20/week @ 2021-12-25 124/week @ 2022-01-01 281/week @ 2022-01-08 189/week @ 2022-01-15

618 downloads per month
Used in 2 crates (via cryptoki)

Apache-2.0

680KB
21K 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 commited 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

~195KB

Ma