Purpose of KeyInfo in XML signature
问题 I am reading about XML signature from w3 page As per my understanding, to Sign an XML: Create a Canonical XML of the XML Data to be signed. Create a hash (digest) of the Canonicalised XML Data using an algorithm mentioned in <DigestMethod/> . Hash will go inside <DigestValue> Encrypt above has using algorithm mentioned in <SignatureMethod/> . This algorithm will take Sender's private key as an input. Signature will go inside <SignatureValue> To Verify (at receiver's end): Use the public key