public void TestVerifyTimestampFromDigest()
        {
            byte[] digest = new System.Security.Cryptography.SHA1Cng().ComputeHash(Encoding.UTF8.GetBytes(dataToTimestamp));

            TimestampCreator creator   = new TimestampCreator();
            TimestampObject  timestamp = creator
                                         .SetTsaPrimaryUrl(tsaUrl2)
                                         .SetHashAlgorithm(HashAlgorithm.SHA1)
                                         .SetOutputFormat(OutputFormat.TSR)
                                         .SetMessageDigestForTimestamping(digest)
                                         .CreateTimestamp();

            TimestampVerifier verifier          = new TimestampVerifier();
            TimestampObject   verifiedTimestamp = verifier.SetMessageDigest(digest)
                                                  .SetHashAlgorithm(HashAlgorithm.SHA1)
                                                  .SetTimestamp(timestamp.Timestamp)
                                                  .Verify();
        }