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

#171 in Cryptography

Download history 2760/week @ 2024-02-03 2604/week @ 2024-02-10 2979/week @ 2024-02-17 3429/week @ 2024-02-24 3201/week @ 2024-03-02 3900/week @ 2024-03-09 3162/week @ 2024-03-16 2646/week @ 2024-03-23 2726/week @ 2024-03-30 2501/week @ 2024-04-06 2152/week @ 2024-04-13 2526/week @ 2024-04-20 2253/week @ 2024-04-27 3141/week @ 2024-05-04 2988/week @ 2024-05-11 2519/week @ 2024-05-18

11,271 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.3–2.4MB
~35K SLoC