EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Unexpected error 8198 (not a valid PKCS7 message)

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
Posted: 03/05/2015 07:33:36
by Ako Dpeps (Basic support level)
Joined: 02/25/2015
Posts: 13

When loading an encrypted and signed email message file with the "MIME Viewer demo" application, it shows an "Can't decrypt: error 8198" (=The message passed to Decrypt/Verify routine is not valid PKCS7 message) when clicking on the Parthandler "SMIME" . The Header part shows MIME version 1.0. Content-type shows application/pkcs7-mime.

However when I double click the msg file in the explorer, Outlook opens the file and shows the email without any error (verified signature). So obviously the email IS valid.

What else could be a cause for the error ?
Posted: 03/05/2015 07:40:24
by Alexander Ionov (EldoS Corp.)

Thank you for contacting us.

Unfortunately we cannot say exactly what's wrong until we take a look at the message. The problem seems to be not in MIME structure (MIME-Version and Content-Type fields) but in the structure of the signature itself.

Best regards,
Alexander Ionov



Topic viewed 561 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!