security providers and ...
Raif S. Naffah
raif@fl.net.au
Sat Aug 17 19:30:00 GMT 2002
Tom Tromey wrote:
>>>>>>"Raif" == Raif S Naffah <raif@fl.net.au> writes:
>>>>>
>
> Raif> i think the cure is:
>
> Raif> 1. to catch the ClassCastException,
> Raif> 2. test if the newly instantiated class is an instance of
> Raif> java.security.MessageDigestSpi,
> Raif> 3. if it isnt re-throw the exception, otherwise
> Raif> 4. wrap the newly instantiated class in a proxy class that channels the
> Raif> MessageDigest calls to the wrapped Spi (inner) class.
>
> This seems reasonable to me, but then I don't really know that much
> about java.security :-). Could you submit a PR for this problem? Or,
> if you like, a patch?
i'll co-ordinate with Mark (Wielaard) for both.
cheers;
rsn
More information about the Java
mailing list