Check if Outlook mail (* .msg) is digitally signed or encrypted

I have a web application that allows you to download Outlook Mails (* .msg) with downloading files. The client wants to prohibit the storage of Digitaly Signed or Encrypted mailboxes. Therefore, after loading Mail, I must hide the mail check if it is signed or encrypted.

If there is a way to test this? How is the template in the file stream?

+3
source share
3 answers

Checking English words is not only valid, but also a documented way.

Refer to authority:

2.1.3.1.3 Recognition of a message object representing a message with a clear message

Message ( PidTagMessageClass ([MS-OXCMSG] 2.2.1.3)) "IPM.Note.SMIME.MultipartSigned" , . , , (, PidTagAttachMimeTag ([MS-OXPROPS] 2.680) "multipart/signed" ) MIME / [RFC1847]. "IPM.Note.SMIME.MultipartSigned" , ".SMIME.MultipartSigned", MAY < 7 <8 > .

Message "IPM.Note.SMIME.MultipartSigned" 2.1.3.1 undefined.

2.1.3.2.3 , S/MIME

Message ( PidTagMessageClass ([MS-OXCMSG] 2.2.1.3)) "IPM.Note.SMIME" Attachment, . , Attachment (, PidTagAttachMimeTag ([MS-OXPROPS], 2.680), "application/pkcs7-mime" "application/x-pkcs7-mime", "application/octet-stream" , PidTagAttachFilename ([MS-OXPROPS] 2.671) ".p7m" ) , [RFC3852]. "IPM.Note.SMIME", ".SMIME", MAY < 11 > .

"IPM.Note.SMIME" . < 12 >

Message "IPM.Note.SMIME", , 2.1.3.2, undefined.

EDIT:

, , " ".

, MSG unicode, "__substg1.0_001A001F" , .

MSG OLE Structured Storage, . , OLE Storage, ​​ OpenMCDF, #. java, python ..

+1

, , , .

, , , .

- . , -, , - , , "" "" - ? .

EDIT:

, , , - , , - . - , , , , , - .

, , . , , . , , .

0

, Outlook Redemption. , , Outlook, . GetMessageFromMsgFile RDOEncryptedMessage, , .

0
source

All Articles