Hi, When we sign with our custom pki api, certificates and a smartcard instead of keytool generated pfx, we needed to increase signature size as follows, otherwise there was "not enough space" error.
signatureOptions.setPreferredSignatureSize(SignatureOptions.DEFAULT_SIGNATURE_SIZE * 12) This works fine. However, the problem is when signing an already signed pdf. Consecutive signing operations need more space naturally, but my understanding was the signature size should be the same because this is an incremental update. (We are not trying to concatenate to the previous signature dictionary.) So do we need to increase the signature size multiplier for every other signature operation on the same document? Kind regards, Okan