crypto.getPrivateKey("16c73ab6-b892-458f-abf5-2f875f74882e", "security");
sigBuilder.setExternalKey(key.getEncoded(), secToken.getElement());
sigBuilder.setSignatureAlgorithm(WSConstants.HMAC_SHA1);
List<WSEncryptionPart> parts = new ArrayList<WSEncryptionPart>(2);
String soapNamespace = WSSecurityUtil.getSOAPNamespace(doc.getDocumentElement());
WSEncryptionPart encP =
new WSEncryptionPart(
WSConstants.ELEM_BODY,
soapNamespace,
"Content"
);
parts.add(encP);
encP = new WSEncryptionPart("STRTransform", "", "Element");
encP.setId(secRefSaml.getID());
encP.setElement(secRefSaml.getElement());
parts.add(encP);
sigBuilder.setParts(parts);
return sigBuilder;
}