13 unstable releases (6 breaking)

0.7.0 Jun 18, 2024
0.6.2 Mar 8, 2024
0.6.1 Oct 17, 2023
0.4.1 Sep 29, 2022
0.1.1 Mar 31, 2021

#151 in Cryptography

Download history 2702/week @ 2024-04-05 2112/week @ 2024-04-12 2535/week @ 2024-04-19 2204/week @ 2024-04-26 2903/week @ 2024-05-03 3145/week @ 2024-05-10 3057/week @ 2024-05-17 3297/week @ 2024-05-24 3138/week @ 2024-05-31 3213/week @ 2024-06-07 2981/week @ 2024-06-14 3007/week @ 2024-06-21 2611/week @ 2024-06-28 2453/week @ 2024-07-05 1976/week @ 2024-07-12 1803/week @ 2024-07-19

9,455 downloads per month
Used in 9 crates (7 directly)

Apache-2.0

2MB
59K SLoC

Cryptoki Rust Wrapper

Crates.io Code documentation

This is the high-level, Rust idiomatic wrapper crate for PKCS #11.

Copyright 2021 Contributors to the Parsec project.


lib.rs:

Rust PKCS11 new abstraction

The items in the new module only expose idiomatic and safe Rust types and functions to interface with the PKCS11 API. All the PKCS11 items might not be implemented but everything that is implemented is safe.

The modules under new follow the structure of the PKCS11 document version 2.40 available here.

Conformance Notes

Throughout this crate, many functions and other items include additional "Conformance" notes. These notes may provide guarantees about behavior or additional, contextual information. In all cases, such items pertain to information from the PKCS#11 standard and are contingent on the provider being accessed through this crate conforming to that standard. That is, this crate is permitted to assume these guarantees, and is does not necessarily check for or enforce them itself.

Dependencies

~0.3–2.4MB
~35K SLoC