summary refs log tree commit diff
path: root/crypto/src/tls/DefaultTlsServer.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-05-11 15:05:33 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-05-11 15:05:33 +0700
commitaff809de7530bc424bee096a88f916aa6a728a86 (patch)
tree95a88b75dd9691ff9989ecee6db409b88e0e99ae /crypto/src/tls/DefaultTlsServer.cs
parentRegister DTLS 1.3 version number (diff)
downloadBouncyCastle.NET-ed25519-aff809de7530bc424bee096a88f916aa6a728a86.tar.xz
(D)TLS: now defaults to offering (D)TLS 1.2, TLS 13
Diffstat (limited to 'crypto/src/tls/DefaultTlsServer.cs')
-rw-r--r--crypto/src/tls/DefaultTlsServer.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/tls/DefaultTlsServer.cs b/crypto/src/tls/DefaultTlsServer.cs
index de8a3f4a0..edab24b71 100644
--- a/crypto/src/tls/DefaultTlsServer.cs
+++ b/crypto/src/tls/DefaultTlsServer.cs
@@ -11,11 +11,11 @@ namespace Org.BouncyCastle.Tls
         private static readonly int[] DefaultCipherSuites = new int[]
         {
             /*
-             * TODO[tls13] TLS 1.3
+             * TLS 1.3
              */
-            //CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
-            //CipherSuite.TLS_AES_256_GCM_SHA384,
-            //CipherSuite.TLS_AES_128_GCM_SHA256,
+            CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
+            CipherSuite.TLS_AES_256_GCM_SHA384,
+            CipherSuite.TLS_AES_128_GCM_SHA256,
 
             /*
              * pre-TLS 1.3