I am trying to find a way to load HSM key stored in Utimaco HSM CSP from JAVA
So far I got leads from search that it would be possible with SunMscApi provider, but I cant find any example where I would specify Utimaco CryptoServer CSP
as provider ?crypto context? and container name TEST_CSP_HSM
. The only examples I found were to load certificate from Windows-My keystore, but its not there.
$ cngtool ListKeys
------------------------------------------------------------
Provider : Utimaco CryptoServer Key Storage Provider
Device : 3001@127.0.0.1
Group : CNG
Mode : Internal Key Storage
------------------------------------------------------------
Index AlgId Size Group Name Spec
---------------------------------------------------------------------------------
1 RSA 2048 CNG TEST_CSP_HSM 2