mace-opensaml-users - RE: Creating an XMLObject - C++
Subject: OpenSAML user discussion
List archive
- From: "Brian Sheely" <>
- To: <>
- Subject: RE: Creating an XMLObject - C++
- Date: Mon, 7 Jan 2008 10:02:50 -0800
Given the fact that I can't use an XMLObject to create a Signature
object, I was hoping I could find a workaround. But I don't think that's
going to be possilbe without some sort of Signature::setXMLSignature
method. I do, of course, understand why there isn't one. Do you have any
ideas for a workaround?
#if (0)
XMLObject* xmlObject =
XMLObjectBuilder::buildOneFromElement(assertionElement, true);
opensaml::Assertion*
assertion(dynamic_cast<opensaml::Assertion*>(xmlObject));
signature = assertion->getSignature();
#else
signature = SignatureBuilder::buildSignature();
//need way to set signature value
#endif
SignatureValidator signatureValidator;
signatureValidator.setCredential(credential);
try {
signatureValidator.validate(signature);
}
Brian Sheely
- Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- RE: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
- RE: Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- RE: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
- RE: Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- RE: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
- RE: Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- RE: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
- RE: Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- Re: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
- RE: Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- RE: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
- RE: Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- RE: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
- RE: Creating an XMLObject - C++, Brian Sheely, 01/07/2008
- RE: Creating an XMLObject - C++, Scott Cantor, 01/07/2008
Archive powered by MHonArc 2.6.16.