Instantiating PrivateKey ..

Srinivas Pandrangi (spandran@xeti.com)
Fri, 24 Apr 1998 17:10:26 -0700

Date: Fri, 24 Apr 1998 17:10:26 -0700
From: Srinivas Pandrangi <spandran@xeti.com>
To: java-security@web1.javasoft.com
Subject: Instantiating PrivateKey ..

Hi,
I am new to Java Security and would appreciate any help I can get.
I have a DER encoded private key stored in a file. I need to instantiate
a PrivateKey object from this data. The API doesn't(?) show a way to do
this. I can do this now using an undocumented class (sun.security...)
but the product I am working on, has to pass the pure java test, which
means I cannot use any undocumented classes. Is there a workaround for
this ?
--Srinivas Pandrangi