While fixing the signature, simplify/refactor Signature into the Signer class, do acroform sigflag updates behind the scenes in the sign or similar methods.
The signer api should look something like this afterwards:
Signer
new(document, output?)
loadCertificateAndKey(cert, key, callback) // async
setField(SignatureField)
write(callback) // async
While fixing the signature, simplify/refactor Signature into the Signer class, do acroform sigflag updates behind the scenes in the sign or similar methods. The signer api should look something like this afterwards: Signer new(document, output?) loadCertificateAndKey(cert, key, callback) // async setField(SignatureField) write(callback) // async