Hi,
I am using SpirePDF for cloud signature. The problem is that IPdfSignatureFormatter's Sign method is called twice, which means user needs to approve signing of one document twice.
Description and workaround:
The first time I get a byte array with document hash. I sign it using the cloud stored private key.
The second time I get a byte array with whole PDF document. I sign it with locally stored certificate (it is not seen in the final document).
The name of person who signed it is from the first siagnature.
Thank you in advance