is it possible to timestamp PDF document offline using iText or any other component?
I've googled standard solution utilizing iText and TSAClient class but it requires TSA as online service. We have certificate from TSA (including private key) whose purpose is to create timestamp signatures but I can't find any technical way how to do it with iText.
Thanks for any guidance. Richmond
TSAClient
is not a final class but merely an interface:Thus, all you have to do is implement that interface to generate time stamps in any way you want. Even though the comments seem to imply some online service, you merely have to return some
byte[]
time stamp stamping the givenbyte[] imprint
.That been said, time stamping like that does not really merit the name. Can you guarantee the time stamps you intend to create to be correct within an acceptable error range?
Thus, you hardly will find an existing
TSAClient
implementation for that. But existing security libraries (like Bouncy Castle) should make creating time stamp request responses quite easy.