CipherSuite

TLS cipher suites.

Not 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 SSLEngine which lists the cipher suites supported by Android.

See JDK Providers which lists the cipher suites supported by Oracle.

See NativeCrypto.java which lists the cipher suites supported by Conscrypt.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "javaName")
val javaName: String

Returns the Java name of this cipher suite. For some older cipher suites the Java name has the prefix SSL_, causing the Java name to be different from the instance name which is always prefixed TLS_. For example, TLS_RSA_EXPORT_WITH_RC4_40_MD5.javaName() is "SSL_RSA_EXPORT_WITH_RC4_40_MD5".

Functions

Link copied to clipboard
open override fun toString(): String