summary refs log tree commit diff
path: root/crypto/src/tls/NamedGroupRole.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/tls/NamedGroupRole.cs')
-rw-r--r--crypto/src/tls/NamedGroupRole.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/src/tls/NamedGroupRole.cs b/crypto/src/tls/NamedGroupRole.cs
new file mode 100644
index 000000000..d86e6ad61
--- /dev/null
+++ b/crypto/src/tls/NamedGroupRole.cs
@@ -0,0 +1,15 @@
+using System;
+
+namespace Org.BouncyCastle.Tls
+{
+    /// <remarks>
+    /// Note that the values here are implementation-specific and arbitrary. It is recommended not to depend on the
+    /// particular values (e.g. serialization).
+    /// </remarks>
+    public abstract class NamedGroupRole
+    {
+        public const int dh = 1;
+        public const int ecdh = 2;
+        public const int ecdsa = 3;
+    }
+}