Hi Ernie,
Not sure I fully understand the question. Without additional context is
hard to give a good answer.
Now, in one of the JSS tests I see code quite similar to the snippet you
pasted.
https://hg.mozilla.org/projects/jss/file/tip/org/
mozilla/jss/tests/ListCerts.java#l63
Hopefully studying
Try this:
/** Convert an NSS certificate to a Java X509Certificate */
protected X509Certificate
convertNssCertificate(org.mozilla.jss.crypto.X509Certificate cert) throws
CertificateException {
InputStream in = null;
try {
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
3 matches
Mail list logo