summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2017-06-08 14:11:29 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2017-06-08 14:11:29 +0700
commitda3f845edc12eaa7a8f16b40279a67dae0681b34 (patch)
tree96d6e22278244126ed391144209517d6f6af849d
parentSpecific exception TlsFatalAlertReceived for peer fatal alerts (diff)
downloadBouncyCastle.NET-ed25519-da3f845edc12eaa7a8f16b40279a67dae0681b34.tar.xz
Add latest extension type values from IANA registry
-rw-r--r--crypto/src/crypto/tls/ExtensionType.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/src/crypto/tls/ExtensionType.cs b/crypto/src/crypto/tls/ExtensionType.cs
index bff9332a0..f17210b80 100644
--- a/crypto/src/crypto/tls/ExtensionType.cs
+++ b/crypto/src/crypto/tls/ExtensionType.cs
@@ -99,6 +99,16 @@ namespace Org.BouncyCastle.Crypto.Tls
         public const int extended_master_secret = 23;
 
         /*
+         * draft-ietf-tokbind-negotiation-08
+         */
+        public static readonly int DRAFT_token_binding = 24;
+
+        /*
+         * RFC 7924
+         */
+        public const int cached_info = 25;
+
+        /*
          * RFC 5077 7.
          */
         public const int session_ticket = 35;