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

[iaik-jce] encoding disappears in nested messages



HI,
setContentContentTransferEncoding(encoding) method can be used to specify
encoding of content inside signed and encrypted objects. But, if you
retrieve a signed message and try to encrypt it using

EncryptedContent(SignedContent) constructor, it assigns a datahandler to
SignedContent. writeTo method on this encryptedContent calls the
SignedContent's datahandler's writeTo method which is unaware of any
encoding applied on the content which was signed. Hence, the default
encoding is chosen. Is there a workaround for this??

thnaks
in advance
-bharath




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