Subject: Altering signature prefix - validation fails
Date: 2016-12-17 18:52:19
From: Mark Harvey
Source: altering-signature-prefix-validation-fails
----------------------------------------------------------------------

I'm using v6.5.61116 of the library and need my signatures to have a 'ds:' prefix.

I've compiled 'Example 2' from your 'Altering SAML XML elements' guidance: http://www.componentpro.com/doc/saml/altering-saml-xml-elements.htm

When 'SignAssertionAndAlterSignature' is executed, the resultant call to 'Validate' method returns 'False' - presumably this should be returning 'True'?

Switching to 'SignAssertion' method the 'Validate' method returns 'True' as expected.

Is this a problem with the example code, or the underlying library?

Thanks,

Mark

 

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index