properties.setActions(actions);
// Set the key up
byte[] hmacKey = "secret".getBytes("ASCII");
String signatureAlgorithm = "http://www.w3.org/2001/04/xmldsig-more#hmac-ripemd160";
SecretKey key = new SecretKeySpec(hmacKey, signatureAlgorithm);
properties.setSignatureKey(key);
properties.setSignatureAlgorithm(signatureAlgorithm);
SecurePart securePart = new SecurePart(