final Properties extraParams,
final CounterSignTarget targets) throws IOException,
AOException {
final String format = getSignFormat(sign);
final TriPhasePreProcessor prep = getPreProcessor(format);
<BUG>final byte[] preSign = prep.preProcessPreCounterSign(sign, algorithm, cert, extraParams, targets);

return getFormattedPreSign(preSign, format);
}</BUG>
@Override

final Properties extraParams,
final CounterSignTarget targets) throws IOException,
AOException {
final String format = getSignFormat(sign);
final TriPhasePreProcessor prep = getPreProcessor(format);
final TriphaseData preSign = prep.preProcessPreCounterSign(sign, algorithm, cert, extraParams, targets);
preSign.setFormat(format);
return preSign;
}
@Override
