login about faq

I want to know if there an component/function that can decrypt and extract RFC-8222 wrapped messages?

(In wrapped format, the following header fields will be moved from the outer RFC 822 header into the encrypted part of the message: To, From, Subject, Date).

I'm using CkMime_ExtractPartsToFiles to extract the decrypted file. It works with unwrapped message though.

asked Jul 03 '14 at 10:22

blackseries's gravatar image

blackseries
1111


Use the CkMime_UnwrapSecurity function to do it.

link

answered Jul 03 '14 at 21:20

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Heres what im doing.

using CkDecryptFile to decrypt mime.p7m into mime.txt

CkMime_LoadMimeFile(MimeOBJ, mime.txt);

CkMime_UnwrapSecurity(aMimeObj);

CkMime_ExtractPartsToFiles(aMimeObj, unwrap.txt);

This works when mime.p7m is Un-wrapped, and when ExtractPartsToFiles is called I get the desired result.

link

answered Jul 07 '14 at 10:44

blackseries's gravatar image

blackseries
1111

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×56
×29
×23
×2
×1

Asked: Jul 03 '14 at 10:22

Seen: 1,742 times

Last updated: Jul 07 '14 at 10:44

powered by OSQA