[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] saving and reading private key to/from file

Hello good people,

Once I've created a private key (say DSA or RSA), I'd like to be able to
store it in a file, and than be able to restore it into a PrivateKey object.

How can that be done?
I thought using DsaPrivateKey (for DSA private key) could be the answer, but
its decode()/encode() methods are protected, so I doubt it's the right

Any help would be most appreciated.

Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-jce