Search code examples
hsm

Simulating Hardware security module


I want to implement part of HSM but first I need to simulate it in software. I want to have a complete isolated enviroment(?) that works like real HSM. My chosen API is pkcs#11 .

should i do something like cryptech,implementing pkcs#11 as rpc ? Can i translate pkcs#11 commands and use one of the many cryptographic libraries that are available ? ( cryptlib & OpenSSL & ... )

PS : I know softHSM but i want something that i completely know how it works and i can configure it + good documentation which i didn't find about softHSM.

Thanks


Solution

  • We can share an HSM simulator which is based on the HSM's firmware and provides full PKCS#11 support. Would that be an option?