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

Re: [iaik-jce] SMime

DataContentHandlers are used by the JAF for InputStream - Object mapping. DataContentHandler implementations are assigned to MIME types by means of a mailcap file. Since you got an exception saying that the DataContentHandler for the application/x-pkcs7-signature type is not found, maybe you donīt have copied the mailcap file of the IAIK S/MIME distribution into the the lib directory of your JDK (<JDK-INSTALL>/lib).

Dieter Bratko


----- Original Message -----
From: Benoît Otjacques <otjacque@crpcu.lu>
To: iaik-jce <iaik-jce@iaik.tu-graz.ac.at>
Sent: Thursday, July 01, 1999 2:39 PM
Subject: [iaik-jce] SMime

> Hello,
> I am trying to send a signed mail. I have extracted certificates
> and private key from a PKCS12 file.
> My class compiles but at runtime it sends me the following error
> message:
> javax.mail.MessagingException:  IOException while sending message.
> javax.activation.UnsupportedDataTypeException: no object DCH
> for MIME type application/x-pkcs7-signature; name=smime.p7s
> Could you tell me what it means and how to deal with ?
> Thank you,
> Benoit