@UnstableApi public final class CipherSuiteConverter extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
toJava(java.lang.String openSslCipherSuite,
java.lang.String protocol)
Convert from OpenSSL cipher suite name convention to java cipher suite name convention.
|
static java.lang.String |
toOpenSsl(java.lang.String javaCipherSuite,
boolean boringSSL)
Converts the specified Java cipher suite to its corresponding OpenSSL cipher suite name.
|
public static java.lang.String toOpenSsl(java.lang.String javaCipherSuite,
boolean boringSSL)
null if the conversion has failedpublic static java.lang.String toJava(java.lang.String openSslCipherSuite,
java.lang.String protocol)
openSslCipherSuite - An OpenSSL cipher suite name.protocol - The cryptographic protocol (i.e. SSL, TLS, ...).null.