// Resolve the BinarySecurityToken associated with this SecurityTokenReference
Element element = (Element)input.getSubNode();
SecurityTokenReference ref = new SecurityTokenReference(element);
KeyResolver resolver = new KeyResolver(store);
BinarySecurityToken token = resolver.resolve(ref);
// Get the specially formated dom element for this element
element = token.getSTRTransformElement();
// Obtain the canonicalizer specified in the transformation parameters
Element parameters = XMLUtils.selectNode(transformObject.getElement().getFirstChild(), Constants.WSSE_NS,
"TransformationParameters", 0);
if (parameters == null)