Skip to content

Commit

Permalink
Cipher suite conversion between Java and OpenSSL
Browse files Browse the repository at this point in the history
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 changes
  • Loading branch information
trustin committed Dec 30, 2014
1 parent 155c0e2 commit a093f00
Show file tree
Hide file tree
Showing 4 changed files with 844 additions and 1 deletion.
Loading

0 comments on commit a093f00

Please sign in to comment.