<Signature Id="MySignature" ...> <SignedInfo> ... <Reference URI="something"> ... <Reference URI="#MyTimeStamp" Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties"> ... </Reference> </SignedInfo> ... <Object> <SignatureProperties> <SignatureProperty Id="MyTimeStamp" Target="#MySignature"> <t:timestamp xmlns:t="http://www.ietf.org/rfcXXXX.txt"> <t:date>19990908</t:date> <t:time>14:34:34:34</t:time> </t:timestamp> </SignatureProperty> </SignatureProperties> </Object> </Signature>
Note: by adding the reference to MyTimeStamp
, the timestamp is also
signed!