Skip to Content.
Sympa Menu

mace-opensaml-users - [opensaml2.0]Validating XML Signature

Subject: OpenSAML user discussion

List archive

[opensaml2.0]Validating XML Signature


Chronological Thread 
  • From: Dimuthu Leelarathne <>
  • To: mace-opensaml-users <>
  • Subject: [opensaml2.0]Validating XML Signature
  • Date: Tue, 05 Feb 2008 15:52:51 +0530
  • Organization: WSO2

Hi All,

I am trying to validate a xml signature, but the validation fails giving
me the following error.[1]

This is how I try to retrieve the Modulus and Exponent. [2]

The saml assertion is available here [3]

I can't figure out what I am doing wrong. Your ideas are very much
appreciated.

Thank you,
Dimuthu

[1]
150194 [main] INFO org.apache.xml.security.signature.Reference -
Verification successful for URI
"#uuid:cb8141e4-44df-4791-9bde-a65b8f75599c"
Exception in thread "main"
org.opensaml.xml.validation.ValidationException: Signature did not
validate against the credential's key
at
org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:78)

[2]http://ww2.wso2.org/~dimuthul/SAML2Test.java

[3]http://ww2.wso2.org/~dimuthul/selfsigned-saml.xml







Archive powered by MHonArc 2.6.16.

Top of Page