I successfully obtained a Timestamp from a tsa server (RFC 3161) and i've created the following Object using bouncyCastle:
TimeStampedData timeStampedData = new TimeStampedData(uri, null, asn1OctetString, evid);
How can i save this structure to a file (.tsr or .tsd) with RFC 5544 specifications?
I've looked for this all over the bouncycaste wiki and also asked in their forum but i received no answer.
Thank you