Meaningless Drivel is fun!
The moose likes Security and the fly likes Ciphers Suites in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Ciphers Suites in java" Watch "Ciphers Suites in java" New topic

Ciphers Suites in java

Ashish Kirpan

Joined: Jan 24, 2011
Posts: 22

I want to use Ciphers Suites in java program.
If you having any idea regarding how to add cipher suites in java sample java program then please help me.

Here is the actual scenario

I am using org.apache.commons.httpclient.HttpClient class to send the request to server over HTTPS connection.
The Client(My java program) must support below cipher suites for handshake
Right now i am able to set only one cipher suite i.e. SSL_RSA_WITH_3DES_EDE_CBC_SHA (SSL Version 3)
but i dont know how to set TLS_RSA_WITH_3DES_EDE_CBC_SHA (TLS).

any help is appreciated
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
TLS_RSA_WITH_3DES_EDE_CBC_SHA and SSL_RSA_WITH_3DES_EDE_CBC_SHA are the same cipher suite, they are synonyms. The JSSE only lists the one but it works for both SSL v3 and TLS 1.0.

Nice to meet you.
Ashish Kirpan

Joined: Jan 24, 2011
Posts: 22

Thanks Greg.
I agree. Here's the link:
subject: Ciphers Suites in java
It's not a secret anymore!