Output
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=mycompany, L=City, S=State, C=US, [email protected] issuer: CN=SecureMyXmlCA, OU=Department X, O=Secure My Xml, L=City, S=State, C=US, [email protected] Display the Root Certificate: subject: CN=me, OU=mygroup, O=mycompany, L=City, S=State, C=US, [email protected] issuer: CN=SecureMyXmlCA, OU=Department X, O=Secure My Xml, L=City, S=State, C=US, [email protected] Certificate used is valid.