diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-09-14 14:23:01 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-09-14 14:23:01 +0700 |
commit | 3124e402477d36636fad5ac3036ef56088cecf65 (patch) | |
tree | ae4c5b178e87d8fabd4feff0609448abb3d5dc3a /crypto/test/src/tsp | |
parent | added Dilithium ack (diff) | |
download | BouncyCastle.NET-ed25519-3124e402477d36636fad5ac3036ef56088cecf65.tar.xz |
DateTimeObject => nullable DateTime
Diffstat (limited to 'crypto/test/src/tsp')
-rw-r--r-- | crypto/test/src/tsp/test/NewTspTest.cs | 5 |
1 files changed, 2 insertions, 3 deletions
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; |