parallaxsecond / rust-cryptoki

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

Support vendor extensions for CK_USER_TYPE #220

Closed larper2axis closed 3 weeks ago

larper2axis commented 3 weeks 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.