I did a test where I change a byte in the XML signed file, in the x.509 element, and the file is recognized as valid. If I change a bit the any signed parts then is not recognized( as expected). How can I validate the x.509 element before the xml signed file?