List<WSSecurityEngineResult> completeResults =
new ArrayList<WSSecurityEngineResult>();
completeResults.addAll(encrKeyResults);
completeResults.add(result);
WSSConfig wssConfig = request.getWssConfig();
if (wssConfig != null) {
// Get hold of the plain text element
Element decryptedElem = dataRef.getProtectedElement();
if (decryptedElem != null) { //is null if we processed an attachment
QName el = new QName(decryptedElem.getNamespaceURI(), decryptedElem.getLocalName());