I am trying to use JSS for TLS/SSL communciations from inside an application 
server; more specifically I am writing a plugin component for an application 
that may already use (and initialize) JSS.  It is not clear from the Javadoc 
how initialization should work in this case.

1) Is it possible to obtain a seperate instance of CryptoManager() that is 
independent from that of the parent web application, similar to the way that 
the JSSE has SSLContext.getSSLSocketFactor()?

2) Does CryptoManager.init() permanantly initiailze all of JSS (i.e. once 
initialized, cannot be changed)?

3) The documentation for CryptoManager.initialize(String configDir) claims 
that "The initialize methods that take arguments should be called only once, 
otherwise they will throw an exception. It is OK to call them after calling 
initialize()."  This makes no sense all of the initialize() method take 
arguments.



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

Reply via email to