Is it possible to add ciphersuites to the Java supported ciphersuites list that I could get using: getSupportedCipherSuites();
Asked
Active
Viewed 139 times
0

user207421
- 305,947
- 44
- 307
- 483

user1810868
- 1,565
- 8
- 23
- 30
-
What class is that method from? – Duncan Jones Dec 25 '12 at 21:31
1 Answers
1
No it is not possible. The cipher suites that aren't listed by getSupportedCipherSuites() aren't, err, supported. To add support for them you would have to implement them, which takes a lot more than just adding a string to a list.
Why do you think you need this? Ordinarily you shouldn't even be using the supported cipher suites that aren't enabled, let alone adding to them.

user207421
- 305,947
- 44
- 307
- 483
-
I can `setEnableCiphersuites()`. I want to try some ciphersuites - for testing - that may not be supported by Java. – user1810868 Dec 26 '12 at 09:48
-
@user1810868 You can indeed call setEnabledCipherSuites(), but only with strings that are returned by getSupportedCipherSuites(), and you can't change those, as I have already described. – user207421 Dec 26 '12 at 10:09
-
@EJP Although, this is an old post, but I disparately need to change the list of supported cipher suites in Java now or find any other programming language that allows me to do so. In your answer you said `To add support for them you would have to implement them`, can you please give me clue how to implement this? – user2192774 Jun 04 '15 at 10:49