File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
common/src/aws/sdk/kotlin/crt/io
jvm/src/aws/sdk/kotlin/crt/io Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -821,6 +821,7 @@ public final class aws/sdk/kotlin/crt/io/SocketType : java/lang/Enum {
821821public final class aws/sdk/kotlin/crt/io/TlsCipherPreference : java/lang/Enum {
822822 public static final field PQ_DEFAULT Laws/sdk/kotlin/crt/io/TlsCipherPreference;
823823 public static final field PQ_TLSV1_2_2024_10 Laws/sdk/kotlin/crt/io/TlsCipherPreference;
824+ public static final field TLSV1_0_2023 Laws/sdk/kotlin/crt/io/TlsCipherPreference;
824825 public static final field SYSTEM_DEFAULT Laws/sdk/kotlin/crt/io/TlsCipherPreference;
825826 public static fun getEntries ()Lkotlin/enums/EnumEntries;
826827 public final fun getValue ()I
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public enum class TlsCipherPreference(public val value: Int) {
3434 * This security policy was the system default before PQ was enabled by default, specifically
3535 * aws-c-io's AWS_IO_TLS_CIPHER_PREF_TLSV1_0_2023_06.
3636 */
37- TLS_CIPHER_PREF_TLSV1_0_2023 (10 ),
37+ TLSV1_0_2023 (10 ),
3838
3939 ;
4040
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ internal actual fun isAlpnSupported(): Boolean = TlsContextOptionsJni.isAlpnSupp
2929
3030private fun TlsCipherPreference.into (): TlsCipherPreferenceJni = when (this ) {
3131 TlsCipherPreference .SYSTEM_DEFAULT -> TlsCipherPreferenceJni .TLS_CIPHER_SYSTEM_DEFAULT
32+ TlsCipherPreference .TLSV1_0_2023 -> TlsCipherPreferenceJni .TLS_CIPHER_PREF_TLSV1_0_2023
3233 TlsCipherPreference .PQ_TLSV1_2_2024_10 -> TlsCipherPreferenceJni .TLS_CIPHER_PREF_PQ_TLSv1_2_2023
3334 TlsCipherPreference .PQ_DEFAULT -> TlsCipherPreferenceJni .TLS_CIPHER_PQ_DEFAULT
34- TlsCipherPreference .TLS_CIPHER_PREF_TLSV1_0_2023 -> TlsCipherPreferenceJni .TLS_CIPHER_PREF_TLSV1_0_2023
3535}
3636
3737private fun TlsVersion.into (): TlsVersionJni = when (this ) {
You can’t perform that action at this time.
0 commit comments