using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Novacoin
{
///
/// Representation of ECDSA private key
///
public class CKey
{
///
/// Private key bytes
///
private List privKeyBytes;
///
/// Initialize new instance of CKey as copy of another instance.
///
/// New CKey instance.
public CKey(CKey key)
{
privKeyBytes = key.privKeyBytes;
}
///
/// Initialize new instance of CKey using supplied byte sequence.
///
/// New CKey instance.
public CKey(IEnumerable bytes)
{
privKeyBytes = new List(bytes);
}
///
/// Calculate public key for this private key.
///
/// New CPubKey instance.
public CPubKey GetPubKey()
{
// stub
return new CPubKey((CPubKey)null);
}
}
}