prepareSignature

fun prepareSignature(fieldName: String, rect: Rectangle? = null, pageIndex: Int = 0)

Stage the signature machinery: a /Sig value dict with the /Contents placeholder and a fixed-width /ByteRange placeholder, a merged field+widget on page pageIndex (invisible when rect is null), and the AcroForm wiring (/SigFlags 3).