Hello all, I'm trying to use the santuario api for signing xml documents.
Just a quick question - this may sound stupid but according to the w3 spec http://www.w3.org/TR/xmldsig-core/#sec-X509Data a KeyInfo tag may contain more than one X509Data elements thus contain more than one embedded certificate. Then how come the org.apache.xml.security.keys.KeyInfo class have a getX509Certificate() method that returns only one certificate? Do I have a way of obtaining all embedded certificates in the XML? Thanks in advance for your understanding! Best regards, M.D.