Just a simple question: How do I convert org.mozilla.jss.pkix.cert to 
org.mozilla.jss.crypto.X509Certificate?

I haveseen that there is a small notice on official JSS FAQ which says i should 
use: Cryptomanager.importCertPackage()

But this method did not work. I got NoSuchItemException, because the if did not 
found a matching private Key. But it has to work without a private key.

So is there another way? I need tis because all my Certificates are in 
java.security.X509Certificate and i have to convert it to 
org.mozilla.jss.crypto.X509Certificate because some JSS functions work only 
with this type of Certificate.

Thanks!
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to