[jdev] Cipher suite availability

Vinod Panicker vinod.p at gmail.com
Wed Apr 6 00:23:17 CDT 2005


Hi,

On Apr 5, 2005 10:47 PM, Matt Tucker <matt at jivesoftware.com> wrote:
> Hey guys,
>
> > > Basically i'm trying to create an xmpp implementation.  The
> > > TLS cipher suite required is specified in the RFC as
> > > TLS_RSA_WITH_3DES_EDE_CBC_SHA.
> > >
> > > The Sun JSSE/Sun JCE security providers (JDK 1.5) sadly dont provide
>
> > > this cipher suite.  Are there alternatives that can be used such as
> > > SSL_RSA_WITH_3DES_EDE_CBC_SHA?
>
> JDK 1.5 does appear to support this cipher suite. The following code:
>
> SSLContext context = SSLContext.getInstance("TLS");
> context.init(null, null, null);
> SSLEngine engine = context.createSSLEngine();
> System.out.println("Supported: " +
> Arrays.asList(engine.getSupportedCipherSuites()));
> System.out.println("Enabled:" +
> Arrays.asList(engine.getEnabledCipherSuites()));
>
> Yields:
>
-- snip --

>
> SSL_RSA_WITH_3DES_EDE_CBC_SHA is definitely in both lists. I did this
> test using JDK 1.5. AES also appears to be supported.

Is SSL_RSA_WITH_3DES_EDE_CBC_SHA the same as TLS_RSA_WITH_3DES_EDE_CBC_SHA?

Regards,
Vinod.



More information about the JDev mailing list