12 unstable releases (5 breaking)

0.6.2 Mar 8, 2024
0.6.1 Oct 17, 2023
0.5.0 Aug 12, 2023
0.4.1 Sep 29, 2022
0.1.1 Mar 31, 2021

#134 in Cryptography

Download history 927/week @ 2024-01-03 1362/week @ 2024-01-10 2639/week @ 2024-01-17 1917/week @ 2024-01-24 2704/week @ 2024-01-31 2740/week @ 2024-02-07 2686/week @ 2024-02-14 3238/week @ 2024-02-21 3116/week @ 2024-02-28 3682/week @ 2024-03-06 3775/week @ 2024-03-13 2826/week @ 2024-03-20 2429/week @ 2024-03-27 2993/week @ 2024-04-03 2069/week @ 2024-04-10 1725/week @ 2024-04-17

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

Apache-2.0

2MB
54K 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.2–2.6MB
~35K SLoC