Reputation: 23
I'm using itext MakeSignature.signDeferred to add signature to pdf. I use deferred signig because i use external signature container. How is possible to add timestamp in this case, the method not support tsaclient parameter like signDetached MakeSignature.signDetached(sap, externalDigest, externalSignature, chain, crlList, ocspClient, tsaClient, estimatedSize, sigtype);
Upvotes: 0
Views: 1524
Reputation: 77606
The method doesn't support a tsaclient for obvious reasons: you use external signature functionality to create the signature bytes. These bytes may not be altered, but need to be inserted into the PDF "as-is". This means that it's up to your external signature container to support timestamps. If it doesn't, you're out of luck.
Upvotes: 1