Message-Id: <199905241651.JAA88238@romeo.rtfm.com>
To: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: Initializing DSA keys
Date: Mon, 24 May 1999 09:51:45 -0700
From: Eric Rescorla <ekr@rtfm.com>
Jan,
Thanks for the quick response.
> We provide so-called "key factories" for what you are trying
> to do.
[...]
I'm actually using Cryptix and JDK 1.1.7 (FreeBSD doesn't have a port for 1.2
yet) so a lot of this stuff isn't available to me.
In any case, I've found a workaround by subclassing DSAPrivateKey
and providing a constructor that takes the encoded form. A little tasteless,
but it works.
-Ekr
[Eric Rescorla ekr@rtfm.com]