mace-opensaml-users - [OpenSAML] Signing Assertion within a Response (C++)
Subject: OpenSAML user discussion
List archive
- From: Chris Card <>
- To: <>
- Subject: [OpenSAML] Signing Assertion within a Response (C++)
- Date: Wed, 6 Oct 2010 10:31:36 +0000
- Importance: Normal
Hi, I'm writing some test code to generate a SAML Response containing a signed Assertion, using the OpenSAML C++ library. Currently my code looks like this: // Sign AssertionassertionDom = assertion->marshall(static_cast<DOMDocument*>(0), &signatures); // Add Assertion to Response response->getAssertions().push_back(assertion); responseDom = response->marshall(static_cast<DOMDocument*>(0)); which does produce xml which appears to have a signature in the right place, but when I try to validate the response I get the error "Digital signature does not validate with the supplied key.". Before I investigate other things, is the above the correct way to produce a signed Assertion within a Response? Chris |
- [OpenSAML] Signing Assertion within a Response (C++), Chris Card, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Chris Card, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Chris Card, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Chris Card, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- [OpenSAML] log4shib + LocalSyslogAppender, Chris Card, 10/19/2010
- RE: [OpenSAML] log4shib + LocalSyslogAppender, Scott Cantor, 10/19/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Chris Card, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Chris Card, 10/06/2010
- RE: [OpenSAML] Signing Assertion within a Response (C++), Scott Cantor, 10/06/2010
Archive powered by MHonArc 2.6.16.