From 3124e402477d36636fad5ac3036ef56088cecf65 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 14 Sep 2022 14:23:01 +0700 Subject: DateTimeObject => nullable DateTime --- crypto/test/src/tsp/test/NewTspTest.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crypto/test/src/tsp') diff --git a/crypto/test/src/tsp/test/NewTspTest.cs b/crypto/test/src/tsp/test/NewTspTest.cs index f6d45ef09..01dbc0e13 100644 --- a/crypto/test/src/tsp/test/NewTspTest.cs +++ b/crypto/test/src/tsp/test/NewTspTest.cs @@ -17,7 +17,6 @@ using Org.BouncyCastle.Crypto.Operators; using Org.BouncyCastle.Math; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.Collections; -using Org.BouncyCastle.Utilities.Date; using Org.BouncyCastle.Utilities.Test; using Org.BouncyCastle.X509; @@ -86,7 +85,7 @@ namespace Org.BouncyCastle.Tsp.Tests extensionsGenerator.AddExtension(X509Extensions.AuditIdentity, false, new DerUtf8String("Test")); - TimeStampResponse tsResp = tsRespGen.GenerateGrantedResponse(request, new BigInteger("23"), new DateTimeObject( DateTime.UtcNow), "Okay", extensionsGenerator.Generate()); + TimeStampResponse tsResp = tsRespGen.GenerateGrantedResponse(request, new BigInteger("23"), DateTime.UtcNow, "Okay", extensionsGenerator.Generate()); tsResp = new TimeStampResponse(tsResp.GetEncoded()); @@ -473,7 +472,7 @@ namespace Org.BouncyCastle.Tsp.Tests // tsResp = tsRespGen.Generate(request, new BigInteger("23"), null); - + tsResp = new TimeStampResponse(tsResp.GetEncoded()); TimeStampToken tsToken = tsResp.TimeStampToken; -- cgit 1.4.1