</BUG>
LOGGER.info("Prefirma XAdES - Firma - FIN"); //$NON-NLS-1$
return presign;
}
@Override
<BUG>public byte[] preProcessPreCoSign(final byte[] data,
</BUG>
final String algorithm,
final X509Certificate[] cert,
final Properties extraParams) throws IOException, AOException {

throw new AOInvalidFormatException(
"Los datos proporcionados no son una factura electronica compatible" //$NON-NLS-1$
);
}
final Properties xParams = this.facturae ? AOFacturaESigner.getFacturaEExtraParams(extraParams) : extraParams;
final TriphaseData presign = preProcessPre(data, algorithm, cert, xParams, Op.SIGN);
LOGGER.info("Prefirma XAdES - Firma - FIN"); //$NON-NLS-1$
return presign;
}
@Override
public TriphaseData preProcessPreCoSign(final byte[] data,
final String algorithm,
final X509Certificate[] cert,
final Properties extraParams) throws IOException, AOException {
