- <Signature xmlns="http://www.w3.org/2000/02/xmldsig#">
- <SignedInfo>
- <SignatureMethod Algorithm="http://www.w3.org/2000/02/xmldsig#dsa">
- SignatureMethod>
- <Reference URI="cid:body@f6a3323c-7c7b-4a5f-b0ed-b3f63a200893">
- <DigestMethod Algorithm="http://www.w3.org/2000/02/xmldsig#sha1">
- DigestMethod>
- <DigestValue>XU9yAzfwEPuP7L5iOcQY9XRNEWM=DigestValue>
- Reference>
- SignedInfo>
- <SignatureValue>ZxvFMInWLSb1+iNj5xA/OhPHE4uzIx4nXOCmoOyGSSyHWEuODsByooS00j9RsMuGN/FmpEEOgJ1NFCBEDaBAag==SignatureValue>
- Signature>
Loading
Bhuvanesh MohankumarPosted May 10, 2016, 2:48 AM
Structure of XML:
(CanonicalizationMethod)?
(SignatureMethod)
(Transforms)?
(DigestMethod)
(DigestValue)
(SignatureValue)
(KeyInfo)?
(Object)*
DigestValue:
DigestValue contains the Base64 encoded result of applying the hash algorithm to the transformed resource(s) defined in the Reference element attributes.
Validation:
Reference Validation: Each Reference's digest is verified by retrieving the corresponding resource and applying any transforms and then the specified digest method to it. The result is compared to the recorded DigestValue; if they do not match, validation fails.