XMLSignatureFactory signatureFactory = getSignatureFactory();
String canonicalAlgo = featureBinding.getCanonicalizationAlgorithm();
ArrayList targetList = featureBinding.getTargetBindings();
ArrayList cloneList = targetList;
if (signaturePolicy.getKeyBinding() instanceof LazyKeyBinding) {
LazyKeyBinding lkb = (LazyKeyBinding) signaturePolicy.getKeyBinding();
if (lkb.getRealId() != null) {
cloneList = (ArrayList) targetList.clone();
Iterator it = cloneList.iterator();
while (it.hasNext()) {
SignatureTarget o = (SignatureTarget) it.next();
if (o.getValue().equals("#" + lkb.getSTRID())) {
o.setValue("#" + lkb.getRealId());
}
}
}
}
String keyAlgo = null;