Hi there,
i have a little problem.
i want to add a certificate t the Firefox keystore this way:
X509Certificate certificate = (X509Certificate)
CertificateFactory.getInstance("X.509").generateCertificate(new
FileInputStream("src//Sohrabi.cer"));
cm.importCertToPerm(certificate, "testdummystuff");
but i have a problem with the casting of the Certificate. the importCertToPerm
need a Certificate of Instance: org.mozilla.jss.crypto.X509Certificate but my
created certificate is of instance: java.security.cert.X509Certificate.
When i try to cast it to the mozilla.jss.crypto.X509Certificate i get an error
that this cast is not possible. so i need a little help from you..
thanks!
--
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto