<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><table><tbody><tr><td><br></td><td><p>
I get an error statingjava.security.InvalidKeyException: No installed
 provider supports this key: sun.security.pkcs11.P11Key$P11RSAPublicKey
    at javax.crypto.Cipher.chooseProvider(Cipher.java:878)
    at javax.crypto.Cipher.init(Cipher.java:1213)
    at javax.crypto.Cipher.init(Cipher.java:1153)
    at softhsm.SoftHSM.main(SoftHSM.java:96)</p></td></tr></tbody></table></div></blockquote><div><br></div><div>The error states that the mechanism is not supported. Are you using SoftHSMv1? Version 1 does not have support for symmetric crypto and key wrapping. Version 2 does, but it is still under development.</div>
<div><br></div><div>// Rickard</div></div></div></div>