public void SaveKey(string path) { byte[] data = CryptoUtil.SerializeKey(privateKey); File.WriteAllBytes(path, data); }
public byte[] ExportKey() { return(CryptoUtil.SerializeKey(privateKey)); }