<div dir="ltr">Thanks Rickard, I am using Version 1 will try with version 2.<div>Sitaraman</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 3:45 PM, Rickard Bellgrim <span dir="ltr"><<a href="mailto:rickard@opendnssec.org" target="_blank">rickard@opendnssec.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div class="im"><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><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>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>// Rickard</div></font></span></div></div></div>
</blockquote></div><br></div>