diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-27 21:11:59 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-27 21:11:59 +0700 |
commit | 35cfd51633bbbbc92c2c17c76646e9a9dc945b11 (patch) | |
tree | 563cda15bf08c63de832198be2b9e0263bae5e60 /crypto/src/tsp/TimeStampTokenGenerator.cs | |
parent | Split up fast/slow tests (diff) | |
download | BouncyCastle.NET-ed25519-35cfd51633bbbbc92c2c17c76646e9a9dc945b11.tar.xz |
Generics migration in Asn1
Diffstat (limited to 'crypto/src/tsp/TimeStampTokenGenerator.cs')
-rw-r--r-- | crypto/src/tsp/TimeStampTokenGenerator.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/src/tsp/TimeStampTokenGenerator.cs b/crypto/src/tsp/TimeStampTokenGenerator.cs index afa1ef2e0..7d711eb22 100644 --- a/crypto/src/tsp/TimeStampTokenGenerator.cs +++ b/crypto/src/tsp/TimeStampTokenGenerator.cs @@ -1,7 +1,9 @@ using System; using System.Collections; +using System.Collections.Generic; using System.IO; using System.Text; + using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.Cmp; using Org.BouncyCastle.Asn1.Ess; @@ -161,14 +163,14 @@ namespace Org.BouncyCastle.Tsp // // Add the ESSCertID attribute // - IDictionary signedAttrs; + IDictionary<DerObjectIdentifier, object> signedAttrs; if (signedAttr != null) { signedAttrs = signedAttr.ToDictionary(); } else { - signedAttrs = Platform.CreateHashtable(); + signedAttrs = new Dictionary<DerObjectIdentifier, object>(); } //try |