public RangeProveType(RangeSigatureType sig, ECPoint C, byte[] mask)
        {
            mask = new byte[32];

            this.rangeSig = sig;
            this.C        = C;
            Buffer.BlockCopy(mask, 0, this.mask, 0, 32);
        }
        public void Deserialize(BinaryReader reader)
        {
            rangeSig = reader.ReadSerializable <RangeSigatureType>();
            C        = ECPoint.DecodePoint(reader.ReadVarBytes(), ECCurve.Secp256r1);
            mask     = reader.ReadVarBytes();

            CheckFields();
        }
 public RangeProveType()
 {
     rangeSig = new RangeSigatureType();
     C        = new ECPoint();
     mask     = new byte[32];
 }