Storing Public/Private Keys in Database
843811Mar 25 2002 — edited Apr 17 2002Hi,
Would be glad if someone could help me sort this out. I'm using SQL Server 7 as a database and I want to store my public and private keys in the DB but I'm having problems regenerating them. At the moment the column is set as varchar and I've converted my keys to String to store them into the DB. But I'm encountering some problems when using the X509EncodedKeySpec to regenerate the keys from byte[]. Can someone help? Thanks.
Meng