Re: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag

2010-01-30 Thread Dr. Stephen Henson
On Tue, Jan 26, 2010, Ujwal Chinthala wrote: > Hi, > > Thanks for all the help. I modified the code based on your comments. > > Basically, I am trying to verify a CMS data signed by a C# program. So I have > the base 64 decoded CSM data stored as nBytes a BYTE array. > > I have to verify the d

Re: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag

2010-01-30 Thread sandeep kiran p
Man page of CMS_verify says the following CMS_get0_signers() retrieves the signing certificate(s) from *cms*, it must be called after a successful CMS_verify() operation. So, CMS_get0_signers should be called after CMS_verify but you seem to do it the other way round. Secondly, why do you need to

Re: Integrating openssl cert in MS

2010-01-30 Thread sandeep kiran p
You might want to check the permissions on C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto. Administrators and system account should have full control on that folder and its sub folders. -Sandeep On Mon, Jan 25, 2010 at 1:54 AM, Christoph Ohliger < christoph.ohli...@fh-rosen