@UnstableApi public final class CipherSuiteConverter extends Object
Modifier and Type | Method and Description |
---|---|
static String |
toJava(String openSslCipherSuite,
String protocol)
Convert from OpenSSL cipher suite name convention to java cipher suite name convention.
|
static String |
toOpenSsl(String javaCipherSuite,
boolean boringSSL)
Converts the specified Java cipher suite to its corresponding OpenSSL cipher suite name.
|
public static String toOpenSsl(String javaCipherSuite, boolean boringSSL)
null
if the conversion has failedpublic static String toJava(String openSslCipherSuite, String protocol)
openSslCipherSuite
- An OpenSSL cipher suite name.protocol
- The cryptographic protocol (i.e. SSL, TLS, ...).null
.Copyright © 2008–2024 The Netty Project. All rights reserved.