Share via


Output from getVerifyingCertificate Method Example

 

[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.]

The getVerifyingCert example should produce output similar to the following.

Verifying signature_signed.rsa.cert.xml...  
  
Signature verified on the data.  
  
Examining certificate chain:  
  
  Certificate No. 1:  
  
    subject: CN=me, OU=mygroup, O=cpandl, L=City, S=State, C=US, E=me@cpandl.com  
    issuer:  CN=SecureMyXmlCA, OU=Department X, O=Secure My Xml, L=City, S=State, C=US, E=info@securemyxml.com  
  
Display the Root Certificate:  
  
    subject: CN=me, OU=mygroup, O=cpandl, L=City, S=State, C=US, E=me@cpandl.com  
  issuer:  CN=SecureMyXmlCA, OU=Department X, O=Secure My Xml, L=City, S=State, C=US, E=info@securemyxml.com  
  
Certificate used is valid.