Skip to main content

Blog Archive for mullan during January 2006

When validating an XML Signature using the Java XML DSig API, it returns a simple boolean indicating if the signature is valid or not: // Validate the XMLSignature boolean coreValidity = xmlSignature.validate(valContext); If it is valid, then great ... no worries. But what if it is invalid? How can you determine exactly what caused the failure? Perhaps you used the wrong key to validate the...