XMLByte* decoded=Base64::decode(reinterpret_cast<const XMLByte*>(msg),&x);
if (!decoded)
throw BindingException("Unable to decode base64 in POST binding message.");
XMLByte* decoded=Base64::decode(reinterpret_cast<const XMLByte*>(msg),&x);
if (!decoded)
throw BindingException("Unable to decode base64 in POST binding message.");
// Parse and bind the document into an XMLObject.
MemBufInputSource src(decoded, x, "SAMLMessage", true);
// Parse and bind the document into an XMLObject.
MemBufInputSource src(decoded, x, "SAMLMessage", true);