One must be patient, Primo It (Igor). Such lists are supported by
volunteers who give their time and energy freely, but have real work
which they must complete, to make a living. Sometimes, people get
busy and cannot respond for days; but that's the price you pay for
free support.
Your implementation probably ignores the protected certProxy field,
as described in this JavaDoc:
http://www.mozilla.org/projects/security/pki/jss/javadoc/org/mozilla/jss/pkcs11/PK11Cert.html
Since you're trying to mix two different crypto providers together
(JSS and SunJCE), you should probably attempt to get the certificate
out into an industry standard encoding for import, rather than attempt
to read the objects and their members directly.
Arshad Noor
StrongAuth, Inc.
Primo It wrote:
Is Primo It escreveu:
shinigami escreveu:
Hi,
E want install a cert in a db. But my cert when i receive from
outside is a java.security.cert.X509Certificate, and the method
importCertToPerm can“t do it. I need to cast this cert to
org.mozilla.jss.crypto.X509Certificate. Or exist other way to do this??
To import a fisical certificate to permanent certs db i`ve implemented
the org.mozilla.jss.crypto.X509Certificate encapsulating a
java.security.cert.X509Certificate and making delegate methods.
But i have received the exception "java.lang.NoSuchFieldError: certProxy
at org.mozilla.jss.CryptoManager.importCertToPermNative(Native
Method)
at
org.mozilla.jss.CryptoManager.importCertToPerm(CryptoManager.java:1062)"
What field is "certProxy" that the Interface
org.mozilla.jss.crypto.X509Certificate does not make reference
Is anybody there???
_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
_______________________________________________
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto