EncryptedElementType eet = saml2Response.getEncryptedAssertion(DocumentUtil.getNodeAsStream(encAssertion));
responseType.getAssertionOrEncryptedAssertion().set(0, eet);
}
catch (MalformedURLException e)
{
throw new ParsingException(e);
}
catch (JAXBException e)
{
throw new ParsingException(e);
}
catch (SAXException e)
{
throw new ParsingException(e);
}
catch (ParserConfigurationException e)
{
throw new ConfigurationException(e);
}