summary refs log tree commit diff
path: root/crypto/src/tls/ExtensionType.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-03-02 16:36:48 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-03-02 16:36:48 +0700
commit0db55f1b5e2dbed6bc774432be7172abe3daa1e4 (patch)
treec7a1a71ab6e6f37037a41c1ccfd813f2b1793468 /crypto/src/tls/ExtensionType.cs
parentFurther GCM updates (diff)
downloadBouncyCastle.NET-ed25519-0db55f1b5e2dbed6bc774432be7172abe3daa1e4.tar.xz
RFC 8879 preliminaries
Diffstat (limited to 'crypto/src/tls/ExtensionType.cs')
-rw-r--r--crypto/src/tls/ExtensionType.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/src/tls/ExtensionType.cs b/crypto/src/tls/ExtensionType.cs
index 87f6a7574..a1f1fa7e8 100644
--- a/crypto/src/tls/ExtensionType.cs
+++ b/crypto/src/tls/ExtensionType.cs
@@ -107,6 +107,11 @@ namespace Org.BouncyCastle.Tls
         public const int cached_info = 25;
 
         /*
+         * RFC 8879
+         */
+        public const int compress_certificate = 27;
+
+        /*
          * RFC 8449
          */
         public const int record_size_limit = 28;
@@ -191,6 +196,8 @@ namespace Org.BouncyCastle.Tls
                 return "token_binding";
             case cached_info:
                 return "cached_info";
+            case compress_certificate:
+                return "compress_certificate";
             case record_size_limit:
                 return "record_size_limit";
             case session_ticket:
@@ -257,6 +264,7 @@ namespace Org.BouncyCastle.Tls
             case extended_master_secret:
             case token_binding:
             case cached_info:
+            case compress_certificate:
             case record_size_limit:
             case session_ticket:
             case pre_shared_key: