login about faq

Hi We have been using ChilkatDotNet.dll Version 8.2.0 with .Net Framework. We use Chilkat.MIME and Chilkat.Crypt2 classes. The Framework versionof ChilKatDotNet.dll is working But the ChilkatDotNet4.DLL is not working with Similar functional.

The Old Working Code:

Dim _tempMime As String = Incoming Data _Body = New Chilkat.Mime Dim _EncodedContent As Byte() = System.Text.Encoding.GetEncoding(1252).GetBytes(_tempMime)_Body.LoadMimeBinary(_EncodedContent) Dim _crypt As New Chilkat.Crypt2 _crypt.CryptAlgorithm = "PKI" _RawContent = _crypt.DecryptBytes(_Body.GetBodyBinary())

New and not working code: Dim _tempMime As String = Incoming Data _Body = New Chilkat.Mime Dim _EncodedContent As Byte() = System.Text.Encoding.GetEncoding(1252).GetBytes(_tempMime)_Body.LoadMimeBytes(_EncodedContent) Dim _crypt As New Chilkat.Crypt2 _crypt.CryptAlgorithm = "PKI" _RawContent = _crypt.DecryptBytes(_Body.GetBodyBinary())

Only Change is that LoadMimeBinary is not available ChilkatDotNEt4.dll so using LoadMimeBytes.

With this _crypt.DecryptBytes returns 0 Bytes.

asked May 13 '13 at 12:56

Shubham's gravatar image


If i add a private certificate, then i am getting following in log file: unEnvelope2: UnEnvelope2: FindMatchingRecipientInfo: NeedSerial: 03B17812E0AA6BA84B45FD8E13EE74E0 NeedIssuerCN: MPS Customer #08DEV1 NumRecipientInfos: 2 (leaveContext) No matching RecipientInfo found. (leaveContext) (leaveContext) Failed to unenvelope PKCS7 message (leaveContext) Failed to decrypt. Failed. (leaveContext)

(May 15 '13 at 18:29) Shubham
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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



Asked: May 13 '13 at 12:56

Seen: 47,264 times

Last updated: May 15 '13 at 18:29

Related questions

powered by OSQA