EncryptionActionToken actionToken2 = new EncryptionActionToken();
actionToken2.setKeyIdentifierId(WSConstants.ENCRYPTED_KEY_SHA1_IDENTIFIER);
actionToken2.setKey(keyData);
actionToken2.setSymmetricAlgorithm(WSConstants.AES_128);
actionToken2.setEncSymmetricEncryptionKey(false);
WSEncryptionPart encP =
new WSEncryptionPart("Timestamp", WSConstants.WSU_NS, "");
actionToken2.setParts(Collections.singletonList(encP));
final Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
CustomHandler handler = new CustomHandler();
List<HandlerAction> actions = new ArrayList<HandlerAction>();