我读到过Key Containers in .NET是一个安全的地方,用来存储用于非对称加密和数字签名的私钥。
我的问题是密钥容器有多安全?因为我已经发现,如果我知道密钥容器名称,那么我将能够使用以下命令检索私钥:
// Create the CspParameters object and set the key container
// name used to store the RSA key pair.
CspParameters cp = new CspParameters();
cp.KeyContainerName = ContainerName;
// Create a new instance of RSACryptoServiceProvider that accesses
// the key container MyKeyContainerName.
RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(cp);
// Display the key information to the console.
Console.WriteLine("Key retrieved from container : \n {0}", rsa.ToXmlString(true));
密钥容器是存储私钥的安全位置吗?
https://stackoverflow.com/questions/1243259
复制相似问题