[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inputs for signature creation



Hi everyone

The following is the mime structure for the message I am intending to sign. This was created using Netscape Messenger (Linux Version). I had this problem before itself. I did get a response from Blake as to what exactly goes into the creation of the digest.

But it did not work out.

Content-Type: multipart/signed;
protocol="application/x-pkcs7-signature";
micalg=sha1;
boundary="------------msB5251B9DF33FAB0FDE461808"
 
--------------msB5251B9DF33FAB0FDE461808
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
 
Hello World
--------------msB5251B9DF33FAB0FDE461808
 
The input to the digest function in my application is:
 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
 
Hello World
 
The first byte to go into digest function is
Content-Type: text/plain; charset=us-ascii
 
and thelast byte going into the digest creation function is 'Hello World'. But the output I am getting and the messenger output are totally different I used the ASN Dump to get netscape's digest. This has tied up my work. It would be of great help if somebody could help me with what exactly goes into the digest function.

John and Blake, sorry for the mail to your personal mail account. This has tied up my work and I could not proceed without this.

Thank you very much for your time. Looking for an early response.
 
cheers
 
Frank