cal.set(Calendar.YEAR, 2005);
cal.set(Calendar.HOUR_OF_DAY, 5);
cal.set(Calendar.MINUTE, 32);
cal.set(Calendar.SECOND, 25);
SecurityDecoder decoder = new SecurityDecoder(new SecurityStore(), cal, null, null, null);
decoder.decode(doc);
decoder.complete();
cleanupWsuIds(doc.getDocumentElement());
String decodedString = DOMWriter.printNode(doc, true);
log.debug("Decoded message:" + decodedString);