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

[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/EncodedKeySpec.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