private void writeXrefRange(long x, long y) throws IOException {
        getStandardOutput().write(String.valueOf(x).getBytes(StandardCharsets.ISO_8859_1));
        getStandardOutput().write(SPACE);
        getStandardOutput().write(String.valueOf(y).getBytes(StandardCharsets.ISO_8859_1));
        getStandardOutput().writeEOL();
    }
Write externally created signature of PDF data obtained via {@link #getDataToSign()} method.

@param cmsSignature CMS signature byte array
@throws IllegalStateException if PDF is not prepared for external signing
@throws IOException           if source data stream is closed
tika-fuzzing/src/main/java/org/apache/tika/fuzzing/pdf/EvilCOSWriter.java