RE: PROBLEMS with PKCS7 type signedAndEnveloped

2005-05-10 Thread Madhu Sudhan Reddy
Can you try adding "OpenSSL_add_all_algorithms();" the line before calling " PKCS7_dataInit". -Madhu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Alberto Pérez Paz Sent: Tuesday, May 10, 2005 9:12 PM To: openssl-users@openssl.org Subject: Re: P

Cryptography Message Syntax Vs PKCS #7

2005-05-23 Thread Madhu Sudhan Reddy
Hello All,       I am very new to this group. Looking for help from this expert group.   Will the DER encoded PKCS #7 signed data matches with the DER encoded CMS signed data?   If not, can you please explain the reason?   Thanking you……   Ma

RFC2630 support

2005-05-24 Thread Madhu Sudhan Reddy
Hello All,       RESTRICTIONS There is no option to print out all the fields of a PKCS#7 file. This PKCS#7 routines only understand PKCS#7 v 1.5 as specified in RFC2315 they cannot currently parse, for example, the new CMS as described in RFC2630. Above l

RE: RFC2630 support

2005-05-25 Thread Madhu Sudhan Reddy
, Madhu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dr. Stephen Henson Sent: Tuesday, May 24, 2005 9:30 PM To: openssl-users@openssl.org Subject: Re: RFC2630 support On Tue, May 24, 2005, Madhu Sudhan Reddy wrote: > > Is there any support for R

Signed data in CMS format

2005-06-13 Thread Madhu Sudhan Reddy
Hello Experts,       I am facing a big problem. In our project we have requirement to output signed data in CMS (Cryptographic Message Syntax, RFC 2630) format.   It is in my head to develop it. My doubt is, Can I use OpenSSL version “0.9.7d” to build sign d

Signed data in CMS format

2005-06-14 Thread Madhu Sudhan Reddy
    Hello All,       I have the requirement to sign the data in CMS format. I used PKCS7_sign function , which outputs data in PKCS#7 format.   After creating signed data, I am passing the data to the function “Verify_CMS()” (This function is not listed

Signed data in CMS format

2005-06-14 Thread Madhu Sudhan Reddy
Hello All,       I have the requirement to sign the data in CMS format. I used PKCS7_sign function , which outputs data in PKCS#7 format.   After creating signed data, I am passing the data to the function “Verify_CMS()” (This function is not listed below, pa

RE: problem verifying signature from java

2005-06-16 Thread Madhu Sudhan Reddy
Hello coco, I am also facing the similar problem. I am generating signature using OpenSSL and passing in to JAVA to verify (running JAVA test suite). Signature format is in DER encoded PKCS#7 format. But JAVA is not able to parse the "SignedData" content in the PKCS#7 format. It

Any problem with this "C" code

2005-06-16 Thread Madhu Sudhan Reddy
Hello All,       I used following C code to sign the data and encode in DER format.       But JAVA Crypto code is failed to parse the DER encoded PKCS#7 data. Following is the “C” code to sign the data.     Is there any problem in my code

RE: problem verifying signature from java

2005-06-19 Thread Madhu Sudhan Reddy
Did you got any break through. -Madhu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of coco coco Sent: Friday, June 17, 2005 6:49 AM To: openssl-users@openssl.org Subject: RE: problem verifying signature from java > I am also facing the similar pro

RE: problem verifying signature from java

2005-06-22 Thread Madhu Sudhan Reddy
My case is different. Here it is failing bcz of extra SMIME capability attribute present in Signature. I removed it, it is working fine. Thank you very much for reply -Madhu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf