XML Digital Signatures •  Chapter 5 153 filled in by the process of generating the signature are also present.These are the DigestValueSignatureValue,  and KeyValue  elements. Generating the digital signature for this code using the sender’s DSA private key produces the data that we see in Figure 5.4. Figure 5.4 Complete Enveloping XML Digital Signature <?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns="urn:envelope"> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC -xml-c14n-20010315"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa- sha1"/> <Reference URI=""> <Transforms> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>MTQ/83w25zYROpMFldXwpm8Jzvk=</DigestValue> </Reference> </SignedInfo> <SignatureValue>d78rbgHr/LlTcYDbidLv1nwKDNhs94DOuVk6IQIEl5HNXI+1kBnyhw== </SignatureValue> <KeyInfo> <KeyValue> <DSAKeyValue> <P> uM0PZvpZLel3HEnPfTzT5/1VBboQDI2ezVSh8eiSye78chVDfBOXYJnYHU7GFJ+6 JhFR6R5fVcsMDcMhKO3AtWHb7StCSX17x/DitfFZylvlZ20bRYwN6g7mDot3VKiS qZk84g9D8XZ+3Yx7xmHXu8OC7sgKVAY+bpnI8tuaruU= </P> <Q> ht4nuLDIMBh18uzAVl3VzXkTMtM= </Q> <G> jYLsH5EONMBWAaL/hgCTPKk2ihau5nKgtkUI6gQeet5I3S9Zja4eP5ZZ653D9IEe /7O/bx+/7qgwBDlMvwGqxakwM/rgxx51Hsc8bRcNQl6Y1f8pNo/lxWFmaLfj6dM5 www.syngress.com Continued