Inputs for signature creation
"frank" <[email protected]> Sun, 30 Jul 2000 17:47:18 +0530
| Newsgroups | gmane.ietf.smime-dev |
|---|---|
| Message-ID | <000b01bffa20$20fb49a0$3701a8c0@dev14> |
This is a multi-part message in MIME format.
------=_NextPart_000_0006_01BFFA4E.347A8120
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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.=20
Content-Type: multipart/signed;=20
protocol=3D"application/x-pkcs7-signature";=20
micalg=3Dsha1;=20
boundary=3D"------------msB5251B9DF33FAB0FDE461808"
=20
--------------msB5251B9DF33FAB0FDE461808
Content-Type: text/plain; charset=3Dus-ascii
Content-Transfer-Encoding: 7bit
=20
Hello World
--------------msB5251B9DF33FAB0FDE461808
=20
The input to the digest function in my application is:
=20
Content-Type: text/plain; charset=3Dus-ascii
Content-Transfer-Encoding: 7bit
=20
Hello World
=20
The first byte to go into digest function is=20
Content-Type: text/plain; charset=3Dus-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.=20
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.=20
Thank you very much for your time. Looking for an early response.
cheers
Frank
------=_NextPart_000_0006_01BFFA4E.347A8120
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#d8d0c8>
<DIV><FONT size=3D2>
<P>Hi everyone</P>
<P>The following is the mime structure for the message I am intending to =
sign.=20
This was created using Netscape Messenger (Linux Version). I had this =
problem=20
before itself. I did get a response from Blake as to what exactly goes =
into the=20
creation of the digest.</P>
<P>But it did not work out. </P></FONT>
<DL><FONT size=3D2><FONT size=3D2>
<DD><FONT color=3D#000000>Content-Type: multipart/signed; =
</FONT></DD>
<DD><FONT =
color=3D#000000>protocol=3D"application/x-pkcs7-signature";=20
</FONT></DD>
<DD><FONT color=3D#000000>micalg=3Dsha1; </FONT></DD>
<DD><FONT=20
=
color=3D#000000>boundary=3D"------------msB5251B9DF33FAB0FDE461808&q=
uot;</FONT></DD>
<DD><FONT color=3D#000000></FONT></FONT><FONT=20
color=3D#000000></FONT> </DD></FONT><FONT size=3D2>
<DD><FONT face=3DArial size=3D2><FONT=20
=
color=3D#000000>--------------msB5251B9DF33FAB0FDE461808</FONT></FONT><FO=
NT=20
color=3D#000000></FONT></DD>
<DD><FONT face=3DArial size=3D2><FONT color=3D#000000>Content-Type: =
text/plain;=20
charset=3Dus-ascii</FONT></FONT><FONT color=3D#000000></FONT></DD>
<DD><FONT face=3DArial size=3D2><FONT =
color=3D#000000>Content-Transfer-Encoding:=20
7bit</FONT></FONT><FONT color=3D#000000></FONT></DD>
<DD><FONT face=3DArial size=3D2><FONT =
color=3D#000000></FONT></FONT><FONT=20
color=3D#000000></FONT> </DD>
<DD><FONT face=3DArial size=3D2><FONT color=3D#000000>Hello=20
World</FONT></FONT><FONT color=3D#000000></FONT></DD>
<DD><FONT=20
=
color=3D#000000>--------------msB5251B9DF33FAB0FDE461808</FONT></DD></FON=
T></DL>
<DL><FONT size=3D2>
<DD><FONT color=3D#000000></FONT> </DD></FONT>
<DD><FONT face=3D"" size=3D2><FONT color=3D#000000>The input to the =
digest=20
function in my application is:</FONT></FONT><FONT=20
color=3D#000000></FONT></DD><FONT size=3D2>
<DD> </DD>
<DD><FONT face=3DArial size=3D2><FONT color=3D#000000>Content-Type: =
text/plain;=20
charset=3Dus-ascii</FONT></FONT><FONT color=3D#000000></FONT></DD>
<DD><FONT face=3DArial size=3D2><FONT =
color=3D#000000>Content-Transfer-Encoding:=20
7bit</FONT></FONT></DD>
<DD><FONT face=3DArial size=3D2><FONT =
color=3D#000000></FONT></FONT><FONT=20
color=3D#000000></FONT> </DD>
<DD><FONT face=3DArial size=3D2><FONT color=3D#000000>Hello=20
World</FONT></FONT></DD>
<DD><FONT face=3DArial size=3D2><FONT=20
color=3D#000000></FONT></FONT> </DD></FONT></DL></DIV><FONT =
size=3D2>
<DIV><FONT face=3DArial size=3D2><FONT =
color=3D#000000></FONT></FONT><FONT=20
color=3D#000000></FONT>The first byte to go into digest function is=20
<DD><FONT face=3DArial size=3D2><FONT color=3D#000000>Content-Type: =
text/plain;=20
charset=3Dus-ascii</FONT></FONT></DD>
<DD><FONT face=3DArial size=3D2><FONT =
color=3D#000000></FONT></FONT><FONT=20
color=3D#000000></FONT> </DD>and thelast byte going into the digest =
creation=20
function is 'Hello World'. But the output I am getting and the messenger =
output=20
are totally different I used the ASN Dump to get netscape's digest. This =
has=20
tied up my work. It would be of great help if somebody could help me =
with what=20
exactly goes into the digest function. </DIV>
<DIV><FONT size=3D2>
<P>John and Blake, sorry for the mail to your personal mail account. =
This has=20
tied up my work and I could not proceed without this. </FONT></P></DIV>
<DIV>Thank you very much for your time. Looking for an early =
response.</DIV>
<DIV> </DIV>
<DIV>cheers</DIV>
<DIV> </DIV>
<DIV>Frank</DIV></FONT>
<DIV>
<DL><FONT size=3D2>
<DD> </DD></FONT></DL></DIV></BODY></HTML>
------=_NextPart_000_0006_01BFFA4E.347A8120--