Implementation of IETF RFC3161 Timestamping using C#/.NET
This example uses RFC3161TimestampRequest, Rfc3161TimestampToken and Rfc3161TimestampTokenInfo from System.Security.Cryptography.Pkcs Namespace.
I decided to share this example, due to a serious lack of documentation and examples for timestamping using pure .NET. Most of the examples I found used third party libraries. I also included a JsonConverter that (de)serializes a RFC3161TimestampToken as JSON.
My example uses HTTP as the transmission protocol between the user and the timestamping authority. TAs public key is received with the timestamp response.