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

AW: [iaik-jce] NoSuchMethodError: iaik.utils.LineInputStream: method getBuffer()[B not found



Most likely you are using the wrong version of IAIK-JCE. Please upgrade to IAIK-JCE 2.6b.
 
Dieter Bratko
-----Ursprüngliche Nachricht-----
Von: iaik-jce-owner@iaik.tu-graz.ac.at [mailto:iaik-jce-owner@iaik.tu-graz.ac.at]Im Auftrag von Gianluca Milo
Gesendet: Samstag, 6. Mai 2000 10:50
An: iaik-jce
Betreff: [iaik-jce] NoSuchMethodError: iaik.utils.LineInputStream: method getBuffer()[B not found

Hi,
I have this strange exception when I try to access a signed message with the getContent() method:
 
CONTENT-TYPE: multipart/signed;
micalg=SHA1;
boundary="----=_NextPart_000_001C_01BF9FD3.044B1AD0";
protocol="application/x-pkcs7-signature"
 
java.lang.NoSuchMethodError: iaik.utils.LineInputStream: method getBuffer()[B not found
at iaik.security.smime.CanonicalizeInputStream.read(Unknown Source)
at java.security.DigestInputStream.read(DigestInputStream.java:156)
at java.io.BufferedInputStream.fill(Compiled Code)
at java.io.BufferedInputStream.read(Compiled Code)
at com.sun.mail.util.LineInputStream.readLine(Compiled Code)
at javax.mail.internet.InternetHeaders.load(Compiled Code)
at javax.mail.internet.InternetHeaders.<init>(Compiled Code)
at javax.mail.internet.MimeMessage.parse(MimeMessage.java:172)
at javax.mail.internet.MimeMessage.<init>(MimeMessage.java:114)
at iaik.security.smime.SignedContent.<init>(Compiled Code)
at iaik.security.smime.signed_content.getContent(Unknown Source)
at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:755)
at javax.activation.DataHandler.getContent(DataHandler.java:511)
at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1072)
at demo.smime.SMimeShow.dump(Compiled Code)
at demo.smime.SMimeShow.show(Compiled Code)
at demo.smime.SMimeShow.main(SMimeShow.java:93)
 
Could anyone help me?
Thank you.
Gianluca Milo

smime.p7s