td.setFormat(format);
return td.toString().getBytes();
}</BUG>
@Override
<BUG>public byte[] preProcessPreSign(final byte[] data,
</BUG>
final String algorithm,
final X509Certificate[] cert,
final Properties extraParams) throws IOException,
AOException {

public final class AutoTriPhasePreProcessor implements TriPhasePreProcessor {
private final boolean installXmlDSig;
public AutoTriPhasePreProcessor(final boolean installXmlDSigProvider) {
this.installXmlDSig = installXmlDSigProvider;
}
@Override
public TriphaseData preProcessPreSign(final byte[] data,
final String algorithm,
final X509Certificate[] cert,
final Properties extraParams) throws IOException,
AOException {
