-
public final class CipherSuiteNot all cipher suites are supported on all platforms. As newer cipher suites are created (for stronger privacy, better performance, etc.) they will be adopted by the platform and then exposed here. Cipher suites that are not available on either Android (through API level 24) or Java (through JDK 9) are omitted for brevity.
See Android SSLEnginewhich lists the cipher suites supported by Android.
See JDK 9 Providerswhich lists the cipher suites supported by Oracle.
See NativeCrypto.javafrom conscrypt, which lists the cipher suites supported by Conscrypt.
-
-
Field Summary
-
Method Summary
Modifier and Type Method Description static synchronized CipherSuiteforJavaName(String javaName)StringjavaName()Returns the Java name of this cipher suite. StringtoString()-
-
Method Detail
-
forJavaName
static synchronized CipherSuite forJavaName(String javaName)
- Parameters:
javaName- the name used by Java APIs for this cipher suite.
-
javaName
String javaName()
Returns the Java name of this cipher suite. For some older cipher suites the Java name has theprefix
{@code SSL_}, causing the Java name to be different from the instance name which isalways prefixed{@code TLS_}. For example,{@code TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName()}is{@code "SSL_RSA_EXPORT_WITH_RC4_40_MD5"}.
-
-
-
-