Frustration!
System.Security.Cryptography.CryptographicException:
ASN1 bad tag value met
I tried to integrate the signature and encryption to AS2. Now it can sign and encrypt the AS2 message and send it to the IIS server. The handler received the data but cannot verify the signature nor decrypt the message.
I did exactly the same thing as what I did in the Signature/Encryption application. The difference is that the Signature/Encryption application is done in one form, there is no sender-receiver which means the difference is just about data transmission. But since the handler successfully received the AS2 message, the 2 should be the same... When I try to verify the signature, it throwed this exception: "System.Security.Cryptography.CryptographicException: ASN1 bad tag value met."
I checked in MSDN, couldn't find much explaination. Googled online and found this exception happened when people tried to install Window update. People also made some suggestions (but it's for how to install the updates), I tried but none worked.
Still doing research on it hoping to find some clue.
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||