|
From: | Casey Marshall |
Subject: | Re: [Jessie-discuss] Jessie and the J2SE 1.5 |
Date: | Sat, 12 Nov 2005 13:55:14 -0800 |
On Nov 12, 2005, at 11:59 AM, Josh Flachsbart wrote:
Hey All,I have an SSL client application currently running under Sun's Java 1.5using JSSE. I came across your implementation and was hoping that Icould use it as a Provider. Of course there were a lot of changes from1.4 to 1.5, in particular the SSLEngine. Because of this, the SSLContext initialization takes a X509ExtendedKeyManager instead of the older X509KeyManager, which is what Jessie's key manager factory returns. I assume this means I have to somehow rip out the 1.5 implementation of JSSE and JCE and use the gnu JCE instead which matches the 1.4 spec.
I'm not sure I follow. SSLContext takes an array of KeyManager objects, not any more specific subtype.
Are you trying to initialize a Sun SSLContext with a Jessie KeyManagerFactory? Because that surely will not work, if Sun's SSLContext requires X509ExtendedKeyManager.
Before I start pulling hair going down that road, am I missing some simpler way to use Jessie under 1.5?
IF you don't mix Jessie and Sun implementations, and don't use any new methods introduced in 1.5 (this includes SSLEngine; Jessie has no support for that), then it should just work.
I'm a little confused about what you are trying to accomplish. Can you provide some more details?
[Prev in Thread] | Current Thread | [Next in Thread] |