Message-Id: <199710171310.IAA14152@dwarpal.in.oracle.com>
Date: 17 Oct 97 16:26:17 +0330
From: "HARAWAT.IN.ORACLE.COM" <HARAWAT.IN.oracle.com.ofcmail@in.oracle.com>
To: java-security@web2.javasoft.com
Subject: public/private key
It is possible to store instances of PublicKey/PrivateKey in files
since these interfaces are serializable. But when I read these objects again
from the file, using readObject method of ObjectInputStream and then
typecasting the object returned to public/private key, then I get a Cast
exception.
Is it possible to store public/private keys into persistent storage
and then retrieve it again.
Harish
-----------------------------------------------------------------------------
Harish Singh Rawat E-Mail : harawat@in.oracle.com
Oracle Software India. Ltd. Voice : +91 (80) 225 - 6098/6099
Indian Development Center ( IDC ) Fax : +91 (80) 225 - 6207/1591
Embassy Point, 150 Infantry Road
Bangalore - 560001 India