How to decrypt an outlook message in tnef format

J

Joe Cruz

Hi,

I use exchange 2007 and outlook 12.
The encryption algorithm is 3DES.

My purpose is to decrypt by myself the message which was sent from outlook.

When I open the mime I get a tnef. When I parse tnef I get many fields. One
of them is a binary attribute which tag is "AttachData".
I'm sure this is the only encrypted buffer, and it contains my message body.

So how can I decrypt the body?
To decrypt 3DES I need the symmetric key (that should have been encrypted
with the receiver's public key) and the initialization vector.

Where is the key exchange block stored in the message (I mean the place
which contains the symmetric key for the message and the initialization
vector)?

I'll be very grateful to someone who can explain how to decrypt a message in
tnef format, or even a code example.

Thanks alot,
joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top