1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/src/tls/ExtensionType.cs b/crypto/src/tls/ExtensionType.cs
index a1f1fa7e8..f879bd6e1 100644
--- a/crypto/src/tls/ExtensionType.cs
+++ b/crypto/src/tls/ExtensionType.cs
@@ -136,6 +136,11 @@ namespace Org.BouncyCastle.Tls
public const int key_share = 51;
/*
+ * RFC 9146
+ */
+ public const int connection_id = 54;
+
+ /*
* RFC 5746 3.2.
*/
public const int renegotiation_info = 0xff01;
@@ -222,6 +227,8 @@ namespace Org.BouncyCastle.Tls
return "signature_algorithms_cert";
case key_share:
return "key_share";
+ case connection_id:
+ return "connection_id";
case renegotiation_info:
return "renegotiation_info";
default:
@@ -277,6 +284,7 @@ namespace Org.BouncyCastle.Tls
case post_handshake_auth:
case signature_algorithms_cert:
case key_share:
+ case connection_id:
case renegotiation_info:
return true;
default:
|