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