summary refs log tree commit diff
path: root/crypto/src/tls/ExporterLabel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/tls/ExporterLabel.cs')
-rw-r--r--crypto/src/tls/ExporterLabel.cs42
1 files changed, 42 insertions, 0 deletions
diff --git a/crypto/src/tls/ExporterLabel.cs b/crypto/src/tls/ExporterLabel.cs
new file mode 100644
index 000000000..481a3eed8
--- /dev/null
+++ b/crypto/src/tls/ExporterLabel.cs
@@ -0,0 +1,42 @@
+using System;
+
+namespace Org.BouncyCastle.Tls
+{
+    /// <summary>RFC 5705</summary>
+    public abstract class ExporterLabel
+    {
+        /*
+         * RFC 5246
+         */
+        public const string client_finished = "client finished";
+        public const string server_finished = "server finished";
+        public const string master_secret = "master secret";
+        public const string key_expansion = "key expansion";
+
+        /*
+         * RFC 5216
+         */
+        public const string client_EAP_encryption = "client EAP encryption";
+
+        /*
+         * RFC 5281
+         */
+        public const string ttls_keying_material = "ttls keying material";
+        public const string ttls_challenge = "ttls challenge";
+
+        /*
+         * RFC 5764
+         */
+        public const string dtls_srtp = "EXTRACTOR-dtls_srtp";
+
+        /*
+         * RFC 7627
+         */
+        public const string extended_master_secret = "extended master secret";
+
+        /*
+         * draft-ietf-tokbind-protocol-16
+         */
+        public const string token_binding = "EXPORTER-Token-Binding";
+    }
+}