summary refs log tree commit diff
path: root/Crypto/src/crypto/tls/ECPointFormat.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Crypto/src/crypto/tls/ECPointFormat.cs')
-rw-r--r--Crypto/src/crypto/tls/ECPointFormat.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Crypto/src/crypto/tls/ECPointFormat.cs b/Crypto/src/crypto/tls/ECPointFormat.cs
new file mode 100644
index 000000000..4e0dd0067
--- /dev/null
+++ b/Crypto/src/crypto/tls/ECPointFormat.cs
@@ -0,0 +1,16 @@
+namespace Org.BouncyCastle.Crypto.Tls
+{
+	/// <summary>
+	/// RFC 4492 5.1.2
+	/// </summary>
+    public enum ECPointFormat : byte
+	{
+		uncompressed = 0,
+		ansiX962_compressed_prime = 1,
+		ansiX962_compressed_char2 = 2,
+
+		/*
+		 * reserved (248..255)
+		 */
+	}
+}