summary refs log tree commit diff
path: root/crypto/src/tls/ContentType.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-03-14 15:48:37 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-04-13 17:16:19 +0700
commite2ab01bcf123ba1cc4be54a04c7e6c9c3bc960d8 (patch)
tree773e088cbf7631bd959db786f11a2878aead890b /crypto/src/tls/ContentType.cs
parentRefactoring around AeadParameters and ParametersWIthIV (diff)
downloadBouncyCastle.NET-ed25519-e2ab01bcf123ba1cc4be54a04c7e6c9c3bc960d8.tar.xz
RFC 9146: Add registry entries
Diffstat (limited to 'crypto/src/tls/ContentType.cs')
-rw-r--r--crypto/src/tls/ContentType.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/src/tls/ContentType.cs b/crypto/src/tls/ContentType.cs
index cf89539c7..fb0a9777f 100644
--- a/crypto/src/tls/ContentType.cs
+++ b/crypto/src/tls/ContentType.cs
@@ -10,6 +10,7 @@ namespace Org.BouncyCastle.Tls
         public const short handshake = 22;
         public const short application_data = 23;
         public const short heartbeat = 24;
+        public const short tls12_cid = 25;
 
         public static string GetName(short contentType)
         {
@@ -25,6 +26,8 @@ namespace Org.BouncyCastle.Tls
                 return "handshake";
             case heartbeat:
                 return "heartbeat";
+            case tls12_cid:
+                return "tls12_cid";
             default:
                 return "UNKNOWN";
             }