Commit a597210
committed
Cipher suite conversion between Java and OpenSSL
Related: netty#3285
Motivation:
When a user attempts to switch from JdkSslContext to OpenSslContext, he
or she will see the initialization failure if he or she specified custom
cipher suites.
Modifications:
- Provide a utility class that converts between Java cipher suite string
and OpenSSL cipher suite string
- Attempt to convert the cipher suite so that a user can use the cipher
suite string format of Java regardless of the chosen SslContext impl
Result:
- It is possible to convert all known cipher suite strings.
- It is possible to switch from JdkSslContext and OpenSslContext and
vice versa without any configuration changes1 parent 941a9b1 commit a597210
4 files changed
Lines changed: 844 additions & 1 deletion
File tree
- handler/src
- main/java/io/netty/handler/ssl
- test/java/io/netty/handler/ssl
0 commit comments