Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello:
In one of our application we are using a custom made DLL to encrypt/decrypt messages in Sybase ASA 9.0.2. This DLL using Microsoft CAPICOM(2.1.0.1) for encrypting and decrypting messages. Recently we have a problem with decrypting messages. Its logging '0x80880283' as error code.
But from the same machine its working fine if the logged in user belongs OS Administrator group. This error is coming while Decoding messages. Is there anything which belongs to CAPICOM and administrator rights. Please help.

Thanks
Robin
Posted

1 solution

See http://msdn.microsoft.com/en-us/library/aa375685(VS.85).aspx[^]

Based on that 0x80880283 is CAPICOM_E_ENVELOP_RECIPIENT_NOT_FOUND.

More details:

The recipient cannot be found in the EnvelopedData object.
Usually, this does not happen with an EnvelopedData object that was created by CAPICOM; however, if the EnvelopedData object was created by a third-party product, the recipient's certificate may not be included in the PKCS #7 structure.


Does that help you identify what might be happening?
 
Share this answer
 
Comments
Espen Harlinn 19-Jan-11 15:47pm    
Some diligent detective work there, probable cause, :) 5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900