Re: Load Key from DB (General questions)
DK,
I double checked, wodKeyManager.NET will already Load key from string raw data. This code works correctly for me: [code]WeOnlyDo.Security.Cryptography.KeyManager km = new WeOnlyDo.Security.Cryptography.KeyManager();
string a;
a = -----BEGIN RSA PRIVATE KEY-----\r\nMIICWQIBAAKBgQD........Qtz1ekkOeOic=\r\n-----END RSA PRIVATE KEY----- ;
km.Load(a);
Console.WriteLine(km.PublicKeyOpenSSH(WeOnlyDo.Security.Cryptography.SSHKeyTypes.RSAKey));
[/code]
Kreso
Complete thread:
- Load Key from DB - Dk, 2006-02-24, 09:22
- Re: Load Key from DB - wodDrazen, 2006-02-24, 10:13
- Re: Load Key from DB - Dk, 2006-02-27, 12:32
- Re: Load Key from DB - wodSupport, 2006-02-27, 13:32
- Re: Load Key from DB - wodSupport, 2006-02-28, 00:27
- Re: Load Key from DB - Dk, 2006-02-28, 06:48
- Re: Load Key from DB - wodSupport, 2006-02-28, 13:40
- Re: Load Key from DB - Dk, 2006-03-01, 05:44
- Re: Load Key from DB - wodSupport, 2006-03-01, 06:52
- Re: Load Key from DB - Dk, 2006-03-01, 05:44
- Re: Load Key from DB - wodSupport, 2006-02-28, 13:40
- Re: Load Key from DB - Dk, 2006-02-28, 06:48
- Re: Load Key from DB - wodSupport, 2006-02-28, 00:27
- Re: Load Key from DB - wodSupport, 2006-02-27, 13:32
- Re: Load Key from DB - Dk, 2006-02-27, 12:32
- Re: Load Key from DB - wodDrazen, 2006-02-24, 10:13