Crate cryptoki[][src]

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.

Modules

functions

PKCS11 functions

objects

PKCS11 objects

types

PKCS11 General Data Types

Macros

get_pkcs11

Directly get the PKCS #11 operation from the context structure and check for null pointers.

Structs

Pkcs11

Main PKCS11 context. Should usually be unique per application.

Enums

Error

Main error type

Type Definitions

Result

Main Result type