Share via


Resource: signature_signed.rsa.cert.xml

 

[This sample code uses features that were implemented in MSXML 5.0 for Microsoft Office Applications. XML digital signatures are not supported in MXSML 6.0 and later.]

<?xml version="1.0" encoding="UTF-8"?>
<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="#obj" Type="http://www.w3.org/2000/09/xmldsig#;Object">
      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
      <ds:DigestValue>8UIaiFvvufk+ybGUHcMk5+2Nmh4=</ds:DigestValue>
    </ds:Reference>
  </ds:SignedInfo>
  <ds:SignatureValue>
    IFILa99v5A6V1v37H+OiqO0bmGyRaprUzlV3dPbx88YzDdIu9GooyMcsGvpBshBbZPej8f2L
    HQoMso+/VctXUA==
  </ds:SignatureValue>
  <ds:Object Id="obj" MimeType="text/plain">Hello, World!</ds:Object>
   <ds:KeyInfo><KeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
<RSAKeyValue>
<Modulus>
wZ2fKQQrs4GECO7zHbsIw362fa4qkQzHRcmLaz/E4qYUDfyCwofHO0R4+p/z7C+PSzuuJqPa
oxeTKL02NdBzfw==
</Modulus>
<Exponent>AQAB</Exponent>
</RSAKeyValue>
</KeyValue>
<X509Data xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Certificate>
MIIE7jCCBK2gAwIBAgIKJMLTcgABAAAACDAJBgcqhkjOOAQDMIGYMSMwIQYJKoZIhvcNAQkB
FhRpbmZvQHNlY3VyZW15eG1sLmNvbTELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVN0YXRlMQ0w
CwYDVQQHEwRDaXR5MRYwFAYDVQQKEw1TZWN1cmUgTXkgWG1sMRUwEwYDVQQLEwxEZXBhcnRt
ZW50IFgxFjA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