Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Storing Public/Private Keys in Database

843811Mar 25 2002 — edited Apr 17 2002
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2002
Added on Mar 25 2002
3 comments
508 views