int keyLength = enc.getKeySize();
//Generate a key on the fly
SecretKey sk = keyManager.getEncryptionKey(spurl.getHost(), encAlgo, keyLength);
StringWriter sw = new StringWriter();
saml2Response.marshall(responseType, sw);
Document responseDoc = DocumentUtil.getDocument(new StringReader(sw.toString()));
String assertionNS = JBossSAMLURIConstants.ASSERTION_NSURI.get();