Persistent Key Values

Briercheck, Scott (brierchecks@msx.upmc.edu)
Tue, 21 Apr 1998 17:03:57 -0400

From: "Briercheck, Scott" <brierchecks@msx.upmc.edu>
To: "'java-security'" <java-security@web1.javasoft.com>
Subject: Persistent Key Values
Date: Tue, 21 Apr 1998 17:03:57 -0400

I have a question for you about persistent key values,

If I have generated a key and cipher, how do I make them persistent
(i.e. write them to a file in a way that I can retrieve them later). Is
it correct to use the IvParameterSpec.getIv() to return the
Initialization Vector for the cipher? If so, then I'm all set to
preserve the cipher, but I want to make sure this is the right thing to
be using.

Second, can I also preserve the key, or is it only possible to preserve
the cipher?

-Scott Briercheck