RE: DSA signed message of smime-example-07 document
"Jim Schaad" <[email protected]> Wed, 28 Nov 2001 01:11:33 -0800
| Newsgroups | gmane.ietf.smime-examples |
|---|---|
| Message-ID | <[email protected]> |
These are going to be different values for DSA. If you look at the specifications of DSA you will notice that there is a random value (k) which is used in the computation. jim > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Masui, Takanori > Sent: Tuesday, November 27, 2001 11:27 PM > To: [email protected] > Subject: DSA signed message of smime-example-07 document > > > > > I have a following question on this document. > > > 5.1(Basic signed content,DSS) and 5.3(Basic signed content,detached > content) > are signed message which are signed by Alice's DSA private key. > > 5.1 has internal content included in eConente, > which is "This is some sample content." > > and > > 5.3 has external content, > which is "This is some sample content." > > So the same content was signed by Alice in 5.1 and 5.2. > > However,the signature value is different. > These example has no signed attribute, > then I expect they have same signature. > > 5.1 signature > > 881 04 48: OCTET STRING, encapsulates { > 883 30 45: SEQUENCE { > 885 02 20: INTEGER > : 08 D0 45 7D 63 E1 39 EC 62 > B0 30 C2 29 > AD 42 EA > : 96 4F 91 86 > 907 02 21: INTEGER > : 00 A6 86 EE 8A 7A 05 A7 E0 > 07 E6 F9 88 > BF 93 FB > : 96 4D 76 D3 92 > } > } > 5.3 signature > > 849 04 48: OCTET STRING, encapsulates { > 851 30 44: SEQUENCE { > 853 02 20: INTEGER > : 15 D0 DC EE FF D4 36 5B 93 > 0D CF 69 3D > 37 45 A0 > : 34 9A 63 35 > 875 02 20: INTEGER > : 49 75 76 4C 33 00 0A AB 90 > FD EF 9C 47 > 80 21 F1 > : 49 EA 02 15 > } > } > > I wonder if I am misunderstanding. > > Signature calculating process which I'm understading is following > > "This is some sample content." ->digest(SHA1)->406a ec08 5279 > ba6e 1602 > 2d9e 0629 c022 9687 dd48 > ->DSASign(AlicePrivKey) > > Please clarify my understading. > > Thank you in advance, > > //Takanori Masui >