Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Commit 6120077

Browse files
committed
Update TLSVersions.kt
1 parent 5c6ccb5 commit 6120077

File tree

1 file changed

+8
-0
lines changed
  • simplekotlinmail-server/src/jvmMain/kotlin/net/axay/simplekotlinmail/server/tls

1 file changed

+8
-0
lines changed

simplekotlinmail-server/src/jvmMain/kotlin/net/axay/simplekotlinmail/server/tls/TLSVersions.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
package net.axay.simplekotlinmail.server.tls
22

3+
/**
4+
* This enum lists the different TLS versions
5+
* which can be used together with [javax.net.ssl].
6+
*
7+
* @param protocolVersion The string representing the TLS version.
8+
* @param cipherSuites A list of strings representing the cipher suites which should be used
9+
* for that version. The names refer to the names of the enum values from [sun.security.ssl.CipherSuite].
10+
*/
311
enum class TLSVersions(
412
val protocolVersion: String,
513
val cipherSuites: List<String>

0 commit comments

Comments
 (0)