Re: Load Key from DB (General questions)
Hi,
The key was successfully saved in the the db. When i tried to load it using the following code snippet it threw an exception: Failed to open key file
KeyManager keyMgr = new WeOnlyDo.Security.Cryptography.KeyManager();
SSHKeyTypes keyType = keyMgr.Load(System.Text.Encoding.Default.GetString(this.PrivateKey));
this.Privatekey has the exact key information as in the key file.
Please help
Thanks
Dk.