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

[iaik-jce] SMimeSend - Problem with pkcs7






I'm trying to use the SMimeSend demo program (2.51) and when I try to send
the explicitly signed message I receive:

Provider 1: IAIK  version: 2.5100000000000002 Provider 2: SUN  version: 1.2
initializing KeyStore...
sending plain message...

sending explicitly signed message... javax.mail.SendFailedException: Sending
failed;
  nested exception is:
	javax.mail.MessagingException: IOException while sending message;
  nested exception is:
	javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
application/x-pkcs7-signature; name=smime.p7s 	at
javax.mail.Transport.send0(Transport.java:218) 	at
javax.mail.Transport.send(Transport.java:80) 	at
demo.smime.SMimeSend.start(SMimeSend.java:146) 	at
demo.smime.SMimeSend.main(SMimeSend.java:390) javax.mail.MessagingException:
IOException while sending message;
  nested exception is:
	javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
application/x-pkcs7-signature; name=smime.p7s 	at
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:324) 	at
javax.mail.Transport.send0(Transport.java:163) 	at
javax.mail.Transport.send(Transport.java:80) 	at
demo.smime.SMimeSend.start(SMimeSend.java:146) 	at
demo.smime.SMimeSend.main(SMimeSend.java:390) OK!

I have downloaded JavaMail 1.1.3 and the activator from sun as suggested
(the POP3 provider ,also)

The plain message is correctly delivering;can you help?

Best Regards,
       Diego Pietralunga


--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-jce