Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[This sample output requires features that were implemented in MSXML 5.0 for Microsoft Office Applications. XML digital signatures are not supported in MXSML 6.0 and later.]
When you build and run the createSAXProxy code, you should get output similar to the following:
Signing data referenced in signature...
Signing was successful.
Resultant signature:
<?xml version="1.0"?>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n
-20010315"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#objData">
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>K6t8fcEaWzaF7ybZnuoS+7E204U=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
BOuhBNVcwOda4gDJDMFjJx6is1MRLmbMGpWYRMybu1AG0cBSgmlaUA==
</ds:SignatureValue>
<ds:Object Id="objData">Hello, world!</ds:Object>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> </KeyInfo>
</ds:Signature>
Signing C:\XML SDK\msxml5\examples\dsig\createSAXProxy\setReferenceData\test.xml
from a SAX Proxy...
Signing was successful.
Resultant signature:
<?xml version="1.0"?>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#objData">
<ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>i885dg/WbBNAcx4kXpnUk7abIiQ=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
l8xG/E22pN2skpI3hp3HWsZNa0IiKL0GzCNKcXF9RqEOmAV7diGTXg==
</ds:SignatureValue>
<ds:Object Id="objData">Hello, world!</ds:Object>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> </KeyInfo>
</ds:Signature>