Hi,
there's sample how to add timestamp using certificate in file:
http://itextpdf.sourceforge.net/howtosign.html#signtsocspcsbut i can't find sample, how to add timestamp using etoken (smartcard should be pretty much the same).
the part, that i don't know how to change is:
Pkcs12Store ks = new Pkcs12Store(fs, CERT_PASSW.ToCharArray());
ICipherParameters pk = ks.GetKey(alias).Key;
because in Pkcs12Store constructor they are using parameter to certificate file stream, i have my certificate as X509Certificate2 object.
If anyone done this and could help, i would be very thankfull.