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

[iaik-jce] KeyAndCertificate



Fellows,

I'm just playing around with IAIK's JCE 2.5 and JigsawSSL. Loading one of 
Jigsaws certificates requires me to use the class 
"iaik.utils.KeyAndCertificate". Playing around with this class gives me two errors:
1) Compile error when I try to access the method 
   "boolean KeyAndCertificate.isEncrypted()": 

    Method isEncrypted() not found in class iaik.utils.KeyAndCertificate.

Hmm, I just commented out that line, compiled and ran the little program.
But loading one of the certificates throws the following error:

2) Runtime error 
   "java.lang.NoSuchMethodError: iaik.pkcs.pkcs8.PrivateKeyInfo: method
    getPrivateKeyInfo(Liaik/asn1/ASN1Object;)Liaik/pkcs/pkcs8/PrivateKeyInfo;
    not found"
    at iaik.utils.KeyAndCertificate.<init>(Compiled Code)

I use JigsawSSL2.0 beta 3 and JCE 2.5 (iaik_jce_full.jar), tried the program with 
both IAIK JCE 2.5 and the JCE packages shipped with JigsawSSL...

Any hints?

Thanks a lot,
Michel

// pallas  GmbH  ............  Michel Drescher  .........
   Hermuelheimer Str. 10       Analyst                   
   D-50321 Bruehl, Germany     drescher@pallas.com        
   fax +49-(0)2232-1896-29     phone  +49-(0)2232-1896-0 
   http://www.pallas.de        direct +49-(0)2232-1896-30
.........................................................


--
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