[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-jce] java.security.spec.EncodedKeySpec



You are right, this will be fixed in a future release. In the meantime I
recommend that you use JDK 1.2.

Regards,

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at


-----Ursprüngliche Nachricht-----
Von: Fred Dushin <fadushin@syr.edu>
An: IAIK-JCE Mailinglist <iaik-jce@iaik.tu-graz.ac.at>
Gesendet: Mittwoch, 06. Oktober 1999 15:12
Betreff: [iaik-jce] java.security.spec.EncodedKeySpec


> The java.security.spec.EncodedKeySpec class in the jdk11x_update.jar
with
> IAIK-JCE2.51 appears to have the wrong constructor.  According to the
JDK 1.2
> javadoc documentation, EncodedKeySpec should take a byte array in the
sole
> public constructor:
>
>
http://java.sun.com/products/jdk/1.2/docs/api/java/security/spec/EncodedK
eySpec.html#EncodedKeySpec(byte[])
>
> (Apologies if my mailer wrapped the URL; it should be one line with no
spaces)
>
> But using the javap interface tool, it appears there is only a default
> constructor for this class:
>
> prompt% echo $CLASSPATH
> /opt/IAIK-JCE2.51/lib/jdk11x_update.jar:/opt/java/lib/classes.zip
> prompt% javap java.security.spec.EncodedKeySpec
> Compiled from java/security/spec/EncodedKeySpec
> public abstract synchronized class java.security.spec.EncodedKeySpec
extends
> java.lang.Object implements java.security.spec.KeySpec
>     /* ACC_SUPER bit set */
> {
>     public abstract byte getEncoded()[];
>     public abstract java.lang.String getFormat();
>     public java.security.spec.EncodedKeySpec();
> }
>
> Thanks,
> -Fred
>
>
>
> --
> Fred Dushin                      mailto:fadushin@syr.edu
> --
> Mailinglist-archive at
http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/maillist.html
>
> To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the
folowing content: UNSUBSCRIBE iaik-jce
>
>
>


smime.p7s