parallaxsecond / rust-cryptoki

Rust wrapper for the PKCS #11 API, Cryptoki
https://docs.rs/cryptoki/
Apache License 2.0
77 stars 61 forks source link

Support vendor extensions for CK_USER_TYPE #220

Closed larper2axis closed 2 months ago

larper2axis commented 2 months ago

Some HSM vendors have more user types than the standard CKU_SO and CKU_USER. For example a Thales Luna uses the value 0x80000001 to represent the unprivileged Crypto User.