IIRC javamail already is very strict in reading emails. So if you do things via javamail it should canonicalise it automatically. The problem you could encounter is that sometimes javamail will throw parsing exception instead of trying to fix the read email.

Stefano


robert burrell donkin wrote:
hi

(as some will know) i've been working on an OpenPGP/MIME (RFC3156)
signing mailet. my reading of the specification leads me to believe
that i should canonicalise the content to be signed. this involves
stuff like altering whitespace and forcing 7 bit-safe content transfer
encoding.

i'm having difficult determining the right (or best, if there is no
right) way to do this via the javamail API. suggestions?

- robert



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to