Extract Subject/Issuer from <X509Certificate>
I know that in .NET it's possible to take a signed XML file and to easily extract the Subject and the Issuer etc of the certificate from the <X509Certificate> element.
KeyInfoX509Data x509Data = SignedXmlFile.KeyInfo;
X509Certificate2 certificate = x509Data.Certificates)
X509Certificate2 signerCert = certificate;
I need to extract the same information from a signed XML file using the OpenSSL library in C++ in Linux.
Can anyone help me out with what I should be doing.
Thanks in advance,