Remove CKey, add signature verification support to CPubKey plus some tests
[NovacoinLibrary.git] / Novacoin / CKey.cs
diff --git a/Novacoin/CKey.cs b/Novacoin/CKey.cs
deleted file mode 100644 (file)
index 875ac7f..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-\feffusing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Novacoin
-{
-    /// <summary>
-    /// Representation of ECDSA private key
-    /// </summary>
-    public class CKey
-    {
-        /// <summary>
-        /// Private key bytes
-        /// </summary>
-        private List<byte> privKeyBytes;
-
-        /// <summary>
-        /// Initialize new instance of CKey as copy of another instance.
-        /// </summary>
-        /// <param name="key">New CKey instance.</param>
-        public CKey(CKey key)
-        {
-            privKeyBytes = key.privKeyBytes;
-        }
-
-        /// <summary>
-        /// Initialize new instance of CKey using supplied byte sequence.
-        /// </summary>
-        /// <param name="bytes">New CKey instance.</param>
-        public CKey(IEnumerable<byte> bytes)
-        {
-            privKeyBytes = new List<byte>(bytes);
-        }
-
-        /// <summary>
-        /// Calculate public key for this private key.
-        /// </summary>
-        /// <returns>New CPubKey instance.</returns>
-        public CPubKey GetPubKey()
-        {
-            // stub
-
-            return new CPubKey((CPubKey)null);
-        }
-    }
-}